|
How to disable 404.php in wordpress?
I'm messing with Wordpress and I need to set it up so that a 404 error goes through the apache 404 handler and redirect people where I want, not show the 404.php file or redirect back to the main page of the blog.
Anyone know how to do this?
I've tried removing the 404.php file, but then I just get redirected back to the front page of the blog. If I take out the rewrite code in the .htaccess file that redirects back to the front page, all the links stop working.
|