Support » Fixing WordPress » 500 Internal Server Error whenever I edit .htaccess

  • I’m trying to change the permalinks on one of my blogs. When I do so, it tells me to update my .htaccess file:

    If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    My current .htaccess file is blank (just # BEGIN WordPress and # END WordPress). When I added in the lines of code it told me to, every page on my blog including the admin panel was giving me a 500 Internal Server Error. So I reuploaded the blank file, changed the permissions to 777, and tried to change the links again, but I get the same error about .htaccess not being writable.

    How can I make .htaccess writable? or how can I edit it myself without destroying everything?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘500 Internal Server Error whenever I edit .htaccess’ is closed to new replies.