Title: .htaccess file error
Last modified: August 19, 2016

---

# .htaccess file error

 *  [mattyshack](https://wordpress.org/support/users/mattyshack/)
 * (@mattyshack)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/htaccess-file-error/)
 * I was editing my about pages on my blog today and when I hit save I got a 500
   Internal Server Error and my site wasn’t accessable all of the sudden. I commented
   out all the wordpress rewrite code in my htaccess file. The site is working again,
   but now none of my images are working. I’ve included the wordpress code in my
   htaccess file causing this.
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       #BEGIN Image Upload HTTP Error Fix
       <IfModule mod_security.c>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
       <IfModule security_module>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
       <IfModule security2_module>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
       #END Image Upload HTTP Error Fix
   
       # END WordPress
       ```
   

The topic ‘.htaccess file error’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [mattyshack](https://wordpress.org/support/users/mattyshack/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/htaccess-file-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
