Welcome to WebmasterWorld Guest from

Forum Moderators: Robert Charlton & 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 Top Contributors Of The Month

joined:Oct 24, 2003
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
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
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
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
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.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members