I've tried all kinds of ways to redirect the 404.php file in WordPress versions 3.3.1 and 3.3.2 to the home page, but nothing seems to be working for me. I've tried plug ins, and my latest attempt, replacing the code in the 404.php file with this:
<?php //Simple Redirect for WordPress. //Christopher Carey //301 Redirect for WordPress //http://wwww.noheat.com header("HTTP/1.1 301 Moved Permanently"); header("Location: ".get_bloginfo('url')); exit(); ?>
Nothing is working :/
Does anyone know of something that WILL work for both those versions, or at least one of them?