Title: 500 Internal Server Error error
Last modified: August 24, 2016

---

# 500 Internal Server Error error

 *  [Untouchable](https://wordpress.org/support/users/untouchable/)
 * (@untouchable)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/500-internal-server-error-error-3/)
 * Hi,
 * I have a “500 Internal Server Error” everyday and I was wondering if you can 
   help me with this issue.
 * So every time I get this issue, I just modify the file “.htaccess” which I think
   is the source of my problem 🙁
 * Here is how my htaccess looks like before I modify it:
 * # BEGIN iThemes Security
    #Quick ban IP. Will be updated on next formal rules
   save. SetEnvIF REMOTE_ADDR “^110\.85\.75\.214$” DenyAccess SetEnvIF X-FORWARDED-
   FOR “^110\.85\.75\.214$” DenyAccess SetEnvIF X-CLUSTER-CLIENT-IP “^110\.85\.75\.
   214$” DenyAccess order allow,deny
 * # 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
    Cond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </
   IfModule>
 * # END WordPress
 * So every time I have this problem, I just edit this file and then the website
   works!
 * So eevryday, I modify my htaccess file with this code:
 * # BEGIN WordPress
 * <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404 RewriteEngine
   On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 * I found this solution here : [https://wordpress.org/support/topic/500-internal-server-error-on-all-wp-pages?replies=7](https://wordpress.org/support/topic/500-internal-server-error-on-all-wp-pages?replies=7)
 * Do you know why my htaccess file is still automatically modified?
 * Thanks for your help!

Viewing 1 replies (of 1 total)

 *  Thread Starter [Untouchable](https://wordpress.org/support/users/untouchable/)
 * (@untouchable)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/500-internal-server-error-error-3/#post-5967849)
 * I have also the following error logs:
 *  /home/********/public_html/mysite.com/.htaccess: </IfModule> without matching
   <IfModule> section

Viewing 1 replies (of 1 total)

The topic ‘500 Internal Server Error error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Untouchable](https://wordpress.org/support/users/untouchable/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/500-internal-server-error-error-3/#post-5967849)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
