Quote:
|
Originally Posted by jackdaw With this .htaccess-edition of yours, the problem vanishes. I would prefer it the other way around, where the .htaccess would strip the URLs for all 'www's. But that would maybe reintroduce the problem with the sneak page? |
You'd need to change theses 2 .htaccess file lines from:
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
to:
RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
Might not work, but then again it might!



Linear Mode

