#1
  1. Webpreneur
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Dec 2004
    Location
    Seattle, WA
    Posts
    540
    Rep Power
    48

    WordPress and 301 redirect


    All of my sites use 301 redirect from sitename.com to www.sitename.com

    Now I have a WordPress website, and WP is redirecting from sitename.com to www.sitename.com

    Should I use 301 redirect on this WP site, even WP is doing it already?
  2. #2
  3. SEO Insultant
    SEO Chat Mastermind (5000+ posts)

    Join Date
    Oct 2005
    Location
    sharing a room with my ego
    Posts
    5,813
    Rep Power
    1862
    WP is most likely using the same method already. Have you checked the .htaccess file that WP has come up with?
  4. #3
  5. Webpreneur
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Dec 2004
    Location
    Seattle, WA
    Posts
    540
    Rep Power
    48
    Originally Posted by dzine
    WP is most likely using the same method already. Have you checked the .htaccess file that WP has come up with?
    This is how the .htaccess file looks like. My knowledge is not enough to say is this how it should be.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
  6. #4
  7. SEO Consultant
    SEO Chat Genius (4000 - 4499 posts)

    Join Date
    Jul 2004
    Location
    Minneapolis, MN, USA
    Posts
    4,208
    Rep Power
    979
    You just need to make sure that the response to a requested URL gives a 301, and then the redirected URL gives a 200 response.

    You can use this tool to
    Check Server Headers Tool from SEO Chat.

    www.mydomain.com should give a 200 response code and
    mydomain.com should give a 301 response code.

    You should also check your Google Webmaster Tools preference settings match (or more importantly don't contradict) this set-up.
  8. #5
  9. Webpreneur
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Dec 2004
    Location
    Seattle, WA
    Posts
    540
    Rep Power
    48
    Originally Posted by tstolber
    You just need to make sure that the response to a requested URL gives a 301, and then the redirected URL gives a 200 response.

    You can use this tool to
    Check Server Headers Tool from SEO Chat.

    www.mydomain.com should give a 200 response code and
    mydomain.com should give a 301 response code.

    You should also check your Google Webmaster Tools preference settings match (or more importantly don't contradict) this set-up.
    Thanks tstolber. That is a nice tool. The website checked out ok. And the webmaster setting matches. I appreciate your help.

IMN logo majestic logo threadwatch logo seochat tools logo