In my sitemap account you can elect if you want to use www or the non-www. A wile back, like a couple of weeks ago, I told them that I wanted all to use the www and what do they do??? Today I see a LOT of non-www links in the search and rankings dropped, pages gone supplemental WTH?????
the 301 as suggested..works great ..I have done a complete (html and all) change before with google using a nice --> /old path --> /New path ..layout.. that google seems to respect and not bounce ya around. :0) good luck
You would think that setting your preferred domain, as they call it, would be the right thing to do and they would "obey" their own rules. GEESH Anybody have the right code for the .htaccess
There are a few versions out there. This is what I use: Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^yourdomain\.com [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301] --------------------------- I have also seen Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteCond %{HTTP_REFERER} !^$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com [NC] RewriteRule ^.*$ http://www.yourdomain.com [R,L] ---------------------------- Obviously the first uses the HTTP_HOST while the second uses the HTTP_REFERER. I suggest that you test different code to see what works best with your server settings.
delsia, The problem is when you allow the both: the www and the non-www version. This tend to generate a lot of duplicate content...
I once thought the same way back in the early days of the Web. Yes, the www is redundant, however, it is generally accepted and usually expected. It is also much more straight-forward to include the www than to exclude it. --