Error 404 Page: How To Customize It With Search Box On Blogger Blogs

When visitors to your blog reach a non-existent page on your blog (because they've clicked on a broken link, the page has been deleted, or they've mistyped a URL), they see a 404 Page as Blogger returns a 404 (Page Not Found) error.

Confronted by a 404 page, they may then attempt to manually correct the URL, click the back button, or even navigate away from your blog. However, there are various ways to help your visitors get out of the dead-end situation, one of which is by creating a custom 404 Page.

Yesterday, while trying to read about 404s and how they do (or do not) affect sites, I stumbled on a Webmaster Tools 404 widget that can be used in embedding a search box on custom 404 pages.

The widget simply helps your visitors find what they're looking for by providing suggestions based on the incorrect URL.  I tried it on my blog and works fine.

With the 404 widget added to my Blogger blog, if you try to access a non-existing page on my blog e.g, you will see a search box with a site search query suggestion as seen in the screenshot below:

If you click the "Google Search" button, it will return search result pages with alternatives to the incorrect URL. You will definitely agree with me that this will make it easier for users to find the information they need (and makes it less likely that they'll leave your blog to look elsewhere).

So, How Do I add Search Box To Blogger Custom 404 Page?

==> Log in to your Blogger dashboard
==> Go to Settings > Search preferences > Custom Page not Found.
==> Click "Edit" to open the text box.
==> Copy and paste the highlighted text below: (Be sure to replace the URL with the URL of your blog).

Sorry, the page you were looking for in this blog does not exist.


<script type="text/javascript">
  var GOOG_FIXURL_LANG = 'en';
<script type="text/javascript"






==> Click Save Changes.

Try to visit a non-existing page on your blog and you should see the search box on your blog's 404 page.

I hope it works for you.

Before this week runs out, I will try to share with you how I capture the intended traffic from dead links by redirecting misspelled URL to the correct URL. Subscribe to this blog if you don't want to miss it.



  1. I tried it sir... Its not showing I mean the Google search box any help pls


Post a Comment

We Love To Hear From You But Don't Spam Us With Links!

Want to be notified when I reply your comment? Tick the "Notify Me" box.

If your comment is unrelated to this post or you're trying to ask question about an old post, please drop it at our discussion platform here.