Google Blogger – 404 Page Error Redirection

Last updated on September 25th, 2021 at 09:12 pm

Read Time:1 Minute, 1 Second

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.

Google Blogger - 404 Page Error Redirection 3

About Post Author

A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over 12 years! IT expert in multiple areas for over 22 years. Sharing experience and knowledge whenever possible! Making IT Happen.
Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 453 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

xbox one s Previous post Download PC Drivers Now for Xbox One Controller
Next post Google Blogger – Remove information when searching on labels