WordPress Steals 404
-
I have been trying to define my own 404 page in the htaccess file but I have found that WordPress seems to take over it no matter what. I guess the code that the permalinks puts in there makes it send anything to index.php. Unfortunately, anything that is not a found file, ends up going there.
This wouldn’t be all that bad but, I like to see my real stats and having my stats monitor index.php isn’t doing anything since all these 404s are coming in on it.
Is there a way to make wordpress stop taking over not found documents? I never had a problem until they came up with the 5 line htaccess.
Here is what wordpress puts in my htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressThank you for any help.
- The topic ‘WordPress Steals 404’ is closed to new replies.