Hi,
I tried using the following code in my .htaccess file which has worked in the past with another site. Whenever I use it for a particular site on the same server I get a server error.
Any idea what could be wrong to cause the error ?
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.com
RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.mydomain.com/ [R=301,L]
Bookmarks