Google Blogger – 404 Page Error Redirection

Google Blogger Featured Image
Google Blogger Featured Image

Estimated reading time: 1 minutes

If you use Google Blogger and you are fed up of missing out on page hits because of 404 errors, then there is a very simple way that you can redirect any of these page mis-directions to another page of your choosing on your blog.

To do this, you should login to your Blogger control panel and click on the Settings and then Search preferences:

Google Blogger - 404 Page Error Redirection 1

Then under Errors and redirections section, click the Edit button for “Custom Page Not Found”, you should then enter the following code:

 <h1>Oops 404!</h1>   <br><b>The page you are looking for may have been renamed or does not exist in this server.</b>   <br><br><b>You will be redirected to homepage shortly.</b>   <script>   blogger_redirect = setTimeout(function() { location.pathname= "/" }, 1000);   </script>  
Google Blogger - 404 Page Error Redirection 2

You should then save this and it will now return any 404 pages to the homepage of your blog after just 1 second. You can change the “location.pathname= “/”” to a different page and change the timeout of 1000 to suit your needs.

Comments

If you have any comments or questions, please feel free to use our comments system below.

Click to rate this post!
[Total: 0 Average: 0]

Share this content:

Avatar for Andrew Armstrong

About Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by Andrew Armstrong

Leave a Reply

Your email address will not be published. Required fields are marked *