Welcome to WebmasterWorld Guest from 107.21.163.40

Forum Moderators: Robert Charlton & aakk9999 & andy langton & goodroi

Message Too Old, No Replies

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

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

Preferred Member

10+ Year Member

joined:Oct 24, 2003
posts:548
votes: 4


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 June 7, 2006 (gmt 0)

New User

10+ Year Member

joined:Jan 23, 2006
posts:10
votes: 0


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

New User

10+ Year Member

joined:Feb 3, 2006
posts:22
votes: 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
6:59 am on June 8, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 3, 2002
posts:157
votes: 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.
2:15 pm on June 8, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Dec 6, 2003
posts:217
votes: 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.