Forum Moderators: phranque
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{http_host} ^mydomain\.com [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,NC]
Once I remove the code all the pages work fine again.
lucy24 wrote:
This implies that the original htaccess is unchanged and is sitting wherever it was all along. If it had been overwritten, deleting new material wouldn't bring the old stuff back. So you're looking at two htaccess files, new and old, in different directories.