Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 18th Nov 2010, 09:03 PM   #1
In pursuit.
 
Join Date: 2010
Location: GTA
Posts: 124
Thanks: 25
Thanked 8 Times in 8 Posts
Default
Do I need a 301 redirect?
Share on: 
fb share twitter share gplus share more share

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?
Roell is offline  
Unread 18th Nov 2010, 10:17 PM   #2
Advanced Warrior
 
Abledragon's Avatar
 
Join Date: 2007
Location: Hong Kong.
Posts: 838
Thanks: 3
Thanked 211 Times in 184 Posts
Default
Re: Do I need a 301 redirect?
Share on: 
fb share twitter share gplus share more share

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.

WealthyDragon - Earning My Living Online
Abledragon is offline  
Unread 19th Nov 2010, 11:49 AM   #3
Warrior Member
 
Join Date: 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Do I need a 301 redirect?
Share on: 
fb share twitter share gplus share more share

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

badhim is offline  
Unread 19th Nov 2010, 12:23 PM   #4
Advanced Warrior
War Room Member
 
orvn's Avatar
 
Join Date: 2010
Location: Toronto, Canada
Posts: 748
Thanks: 83
Thanked 181 Times in 101 Posts
Default
Re: Do I need a 301 redirect?
Share on: 
fb share twitter share gplus share more share

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.

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.

orvn is offline  
Unread 20th Nov 2010, 01:40 PM   #5
Warrior Member
War Room Member
 
Join Date: 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Do I need a 301 redirect?
Share on: 
fb share twitter share gplus share more share

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'.)
bort27 is offline  
Closed Thread


Bookmarks

Tags
301, redirect


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 02:49 AM.