Site keeps crashing with 500 error code.
-
Hi, I have my site theleavenworthbassclub.org hosted with Godaddy. Lately I have been getting error 500 crashes and I have to go into my CP and delete the HTACESS file. WordPress then creates a new file and the site comes back up. What seems to be happening is the first three lines get merged and the file is corrupted. Below is the good file code and the next is how the file gets changed. I don’t know where to take this to get it resolved. This site has been up and running for over a year without any issues until the last couple of weeks. Any help or guidance would be appreciated.
Good file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Bad file:
# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
As you can see the first 3 lines get merged into one line and the site goes down. There hasn’t been any changes to the site except Any ideas.
The topic ‘Site keeps crashing with 500 error code.’ is closed to new replies.