Welcome to WebmasterWorld Guest from 23.21.38.201

Will switching from www to non-www get my sites de-indexed?

   
6:54 pm on Jun 7, 2006 (gmt 0)

10+ Year Member



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!
9:19 pm on Jun 7, 2006 (gmt 0)

5+ Year Member



I think this could cause you some problems. Google will see www and non www as duplicate content.
11:59 pm on Jun 7, 2006 (gmt 0)

5+ Year Member



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
6:59 am on Jun 8, 2006 (gmt 0)

10+ Year Member



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.
2:15 pm on Jun 8, 2006 (gmt 0)

10+ Year Member



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.

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month