Do I need a 301 redirect?

by Roell
4 replies
here's the deal:
I've built about 15 pages using Wordpress which have been indexed by Google. I recently added www to my url.

Using Google Webmaster Tools i set the preferred domain to the www version. Do I also need a 301 redirect or will Google eventually re-index the pages with the www in the url?
#301 #redirect
  • Profile picture of the author Abledragon
    Many hosting providers automatically set up the re-direct between the www version and the non www. It would be worth checking with your hosting provider and ask them to set it up if they haven't already done it.

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[2889101].message }}
  • Profile picture of the author badhim
    Do I also need a 301 redirect...
    This is acceptable, but not required. Here what Google says:

    Once you've set your preferred domain, you may want to use a 301 redirect to redirect traffic from your non-preferred domain, so that other search engines and visitors know which version you prefer.
    See the full answer at: google.com/support/webmasters/bin/answer.py?answer=44231
    {{ DiscussionBoard.errors[2891666].message }}
  • Profile picture of the author orvn
    Originally Posted by Roell View Post

    here's the deal:
    I've built about 15 pages using Wordpress which have been indexed by Google. I recently added www to my url.

    Using Google Webmaster Tools i set the preferred domain to the www version. Do I also need a 301 redirect or will Google eventually re-index the pages with the www in the url?
    It's a good idea, considering that it's just a couple of lines into your .htaccess file and doesn't take up any time at all.
    Signature
    Orun Bhuiyan[@orvn] [linkedin] See what I've been doing lately by visiting my marketing agency's site. SEOcial specializes in content marketing and integrated optimization. We create conversions for businesses by gracefully connecting the realms of design, development and marketing.

    {{ DiscussionBoard.errors[2891802].message }}
    • Profile picture of the author bort27
      Originally Posted by orvn View Post

      It's a good idea, considering that it's just a couple of lines into your .htaccess file and doesn't take up any time at all.
      RewriteCond %{HTTP_HOST} !^vvv\.yourdomain\.com$
      RewriteRule ^(.*)$ hxxp://vvv.yourdomain.com/$1 [L,R=301]

      (The forum thinks I'm trying to post links, so you'll have to change 'hxxp' to 'http' and 'vvv' to 'www'.)
      {{ DiscussionBoard.errors[2896272].message }}

Trending Topics