WordPress.org

Ready to get started?Download WordPress

Forums

Directory Rewriting.. What actually happens? (4 posts)

  1. juanyjuans
    Member
    Posted 2 years ago #

    when a DIRECTORY is accessed via the address bar e.g. http://www.mysite.com/mydirectory WordPress will forward the user from http://www.mysite.com/mydirectory > http://www.mysite.com/mydirectory/ ( adding the / )

    This happens to directories that are physically on the server, like /images/ as well as the ones that WordPress creates like /category/

    My question is:
    When the above happens, is it best to preform a 301 redirect (from mydirectory > mydirectory/)? and is there any header data sent to a Googlebot that informs the bot that this is a Directory (or a kind of pseudo directory in the case of /category/) and not a page named "mydirectory"?

    Im curious as I think this could have an impact on SEO.

    thanks

  2. ClaytonJames
    Member
    Posted 2 years ago #

    I thought this was an interesting and informative article on the topic.

    http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html

  3. juanyjuans
    Member
    Posted 2 years ago #

    fantastic! That's answered my question good and proper :) thanks

  4. ClaytonJames
    Member
    Posted 2 years ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic