404 Redirect
-
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 //https://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?
Thanks!!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘404 Redirect’ is closed to new replies.