Will switching from www to non-www get my sites de-indexed?
ichthyous
6:54 pm on Jun 7, 2006 (gmt 0)
My hosting company recently migrated my 2 sites to a new server...on the old server i had some rewrite code which rewrote all mysite.com requests to www.mysite.com. All of my pages indexed in all of the SE's begin with www. Now on the new server the code had to be removed and I see already that google has started reindexing my top pages as non-www. Will the switch cause the SE's to deindex my site or count the pages as duplicates? Thanks!
ConnieS
9:19 pm on Jun 7, 2006 (gmt 0)
I think this could cause you some problems. Google will see www and non www as duplicate content.
Ecaterina
11:59 pm on Jun 7, 2006 (gmt 0)
As far as I know, Google fixed this bug half year ago. BUT, yes, I'm still afraid of duplicate content. anyway, ask the hosting service for www, or do 301 in .htaccess
Brian
6:59 am on Jun 8, 2006 (gmt 0)
Personally, I think G will see the pages as duplicates, but I don't see why that should matter. In my thinking, it will simply suppress one copy of the page from the index. I can't see why any penalty should follow.
Webdetective
2:15 pm on Jun 8, 2006 (gmt 0)
Set up a canonical redirect in your .htaccess in your domain root:
RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC] RewriteRule ^(.*)$ [yourdomain.com...] [R=301,L]
Also, make sure all links pointing to your site include the www.