[wp-hackers] Force 404

Robert Lusby nanogwp at gmail.com
Tue May 17 15:05:04 UTC 2011

Sorry I know this has been discussed before, but my Google skills seem 
to be evading me this afternoon!

What's the correct way to force WordPress to return a 404?

Require the WordPress 404 page to be displayed, and the 404 headers, 
without any 302/301 'faffing', obviously HTACCESS can't really do this.


More information about the wp-hackers mailing list