Title: Constant 404 errors
Last modified: August 19, 2016

---

# Constant 404 errors

 *  [amberleighturner](https://wordpress.org/support/users/amberleighturner/)
 * (@amberleighturner)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/constant-404-errors/)
 * Hello guys and gals.
 * I am having some issues. Yesterday I had a perfectly working blog and was working
   on the theme, and now today, I am getting constant 404 error pages, and they 
   aren’t even the 404 error pages that match my theme.
 * I think this may have something to do with the .htaccess file, which is missing
   now. I think this was caused when I had my hosting service remove the forums 
   I had on my site so I can reinstall it.
 * Basically, I think that once I get a proper .htaccess file on the server, things
   will be better, but I am not sure what to put in the .htaccess file, as I never
   mess with that file.
 * Can someone tell me what should be in that file? Or how to generate a new one?

Viewing 1 replies (of 1 total)

 *  Thread Starter [amberleighturner](https://wordpress.org/support/users/amberleighturner/)
 * (@amberleighturner)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/constant-404-errors/#post-1421192)
 * Nevermind. I figured out what should go in the .htaccess file.
 * For future reference I put this:
 *     ```
       # 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
   
       <IfModule mod_security.c>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </IfModule>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Constant 404 errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [amberleighturner](https://wordpress.org/support/users/amberleighturner/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/constant-404-errors/#post-1421192)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
