Forum Moderators: phranque

Message Too Old, No Replies

My site is duplicated : with www and without it.

How to fix it?

         

fischermx

9:58 pm on May 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I recently saw that Google was leaving some of my pages listing with URL only while searching for "site:www.mysite.com".
Today I did a "site:mysite.com" and notice it lists both my pages with and without the www.
So, I think some site has linking to me without the "www" and this is causing this, but I'm not sure.
I've always verified I link my self and my internal links include the prefix.
So, two questions :
1.- How do I fix this?
2.- How do I prevent this in other sites?

PatrickDeese

10:06 pm on May 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you should set your htaccess file to 301 non-www to www:

[webmasterworld.com...]