How do I NOT use custom 404 page with permalinks
-
I have permalinks (post name style) turned on. I do not want the custom WordPress 404 error page to show up if somebody reaches a page that doesn’t exist in my site. I want it to display the standard Apache default 404 error page instead. The custom WordPress 404 page is too server intensive. It also causes issues with caching plugins who create and store a static copy of error page.
How can I tweak the .htaccess settings to force non-existent “pages” to display a standard 404 page?
In some cases putting “ErrorDocument 404 default” in .htaccess can help, but not for WordPress. The rewrite rules inserted to make permalinks work do not ever produce a real 404 error condition.
Does anybody know how to make this work? I do not want to invoke the PHP parser for pages that do not exist, but yet I still want to use permalinks.
Thank you.
- The topic ‘How do I NOT use custom 404 page with permalinks’ is closed to new replies.