Now im not sure if this is a great idea for SEO purposes, but if you have recently purged old posts from your wordpress database, or have changed the permalink structure and dont want your visitors to keep seeing the “no posts found” page or the “404 Error Page”.
WordPress supports the 404.php page. I just added the following lines between the header and the footer tags to redirect back to the home page.
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://iheadlines.info/" );
?>




kruxor on June 28th, 2010 