How to Redirect Blogger 404 Error (Page not found) page to home page/Any other webpage in Blogger:

If a user goes to non available URL on your blog, then blogger will display 404 error, at that time there is a chance of user lose impression on your blog. This tutorial will help you to redirect your blog from 404 error to home page/ any other webpage

Step 1: Login to your account

rhchatStep 2: Go to Settings 

blogerror404_3Step 3: Select Search preferences

blogerror404_4Step 4: under Search preferences you will find Custom Page Not Found option, click on Edit

blogerror404Step 5: paste the below source code on text box

Sorry, the page you were looking for in this blog does not exist. You will be redirected to homepage shortly.

<script type = “text/javascript”>

BSPNF_redirect = setTimeout(function() {

location.pathname= “/”

}, 3000);


Above source code first 2 lines is a message, we can write any message

Here I am redirecting my blog to Home page

If you want to redirect you blog other than home page, you have to change the above source code

In above source code replace PATHNAME with HERF, and replace “/” with your destination URL(Ex : )

In the above code 3000 means it’s a time delay in milliseconds, you can use any number, if you set time delay as Zero means redirect immediate without any time delay

blogerror404_5Step 6: Click on Save Changes.

blogerror404_1To test enter any URL which doesn’t available in your blog like

At that time it will display message and it will redirect to your home after 3 seconds

Enjoy 🙂

Thank you for visiting  If you find any mistakes help us by leaving a comment.