Use the Roots Theme: rootstheme.com, I was digging through the webmaster tools account that I set up for the website and I found out that Google is finding 292 crawl errors. I wanted to try and have all non-existent pages redirect to the homepage to reverse this happening.
What would be the easiest way to add the below redirect to the 404 pages? It obviously doesn’t work by just adding it to the 404.php page.
<?php wp_redirect(get_option(‘home’)); ?>
- The topic ‘404 Redirect to Homepage’ is closed to new replies.