what do i put in my .htaccess so that it redirects from non-www to www example http://mysite.com/lala.htm to http://www.mysite.com/lala.htm http://mysite.com/seo.htm to http://www.mysite.com/seo.htm
I could be wrong, so don't take my word for it, but why not a 301 redirect? Does that count as dupe content? If so, google is not really following the rules, it should see that as a permanent move, drop the old page and add the new. I've just rewritten a tooon of pages to a new style, the old style is 301'd to the new style.. let you know how that goes.. lol.
try this RewriteCond %{HTTP_HOST} !^www\.mysite\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://ww.mysite.com/$1 [L,R] Code (markup):
RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http:// www. example. com/$1 [R=301,L]