htaccess file causes internal error 500
-
Every time I load a .htaccess file into my public_html folder (with permissions set to 666) it automatically causes the site to go to “internal error 500.” I’ve read several old forums about this problem and none of the solutions I’ve tried have fixed the crash. All I’m trying to do is create pretty permalinks with the post title. This is what I’ve pasted into the .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
dex.php [L]
</IfModule>Should there be other code in the htaccess file as well? Even if I post a blank .htaccess file with 777 permissions, my site immediately goes to Internal Error 500.
Thank you for your help.
- The topic ‘htaccess file causes internal error 500’ is closed to new replies.