How to upgrade your 404 Not Found Page in Blogger

You must be known to 404 error pages, they show up when a visitor end up visiting a page or URL that is either broken or no longer exists. Therefore, having a useful 404 error page could be handy in improving your sales and not making a dead-end for your users. You can improve your 404 page, by providing some options or set of instructions to visitors to work around. In this article, we will show you how to improve your 404 not found page in blogger, so that you can make your 404 error page not only useful but engaging as well.

How 404 Error Page looks like in Blogger?

Let’s be honest, before landing on this posts you have always ignored your 404 error page not because you don’t want it to improve but it just lacks interests. Check out the screenshot below that shows how a default blogger 404 page looks like:
The above screenshot clearly shows that it is not a useful 404 page.  As a user yourself, you hate when an error pops up that doesn’t have any way to work around?

The same way you need to help your users by providing them some set of options that they can do to find the relevant topic that they are looking for. You can help them to find exactly the right page by providing a search ability on your 404 page and lots of creative things that you can do.

How to Customize your 404 Page in Blogger:

The very first thing you can do to make your 404 page useful for your users it to customize it with your own creativity. Go to Blogger >> Search engine Preference >> Custom Page Not Found.

We have already covered how to create a custom 404 page in blogger so be sure to read that resource as well.  You can surely use this feature to add useful tools and elements like a search engine, achieve widget, recent posts and etc.

This will help your visitors to look for the best fit, according to their interests.

Display Search Widget on 404 Page:

To display a search widget on your 404 page, just paste the following piece of coding in “Custom Page Not Found” in blogger settings.  Once done you have to make your own Custom CSS to support the style of your template.

<form method='get'>
<div id='search'>
<div class='search'>
<input id='s' name='q' onblur='if (this.value == &#39;&#39;) {this.value = &#39;Search the site&#39;;}' onfocus='if (this.value == &#39;Search the site&#39;) {this.value = &#39;&#39;;}' type='text' value='Search the site'/>
<input id='button' style='vertical-align: top;' type='submit' value='Search!'/>

If you are already using a custom search widget, then it will automatically inherit CSS from your default search engine.

Display Recent Posts on 404 Page: 

The method is again the same, you need to paste the following code in blogger settings in the location we have mentioned above. This will simply displays recent posts on your 404 page.

<link href="" type="text/css" rel="stylesheet" />
 <script src=""></script>
  <script type='text/javascript'>
var numposts = 3;
var showpostthumbnails = true;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = true;
var numchars = 100;</script>
  <script type="text/javascript" src="/feeds/posts/default?orderby=published&alt=json-in-script&callback=labelthumbs"></script> 

You can make it look more attractive by applying CSS according to your desire needs.

Display Popular Posts on 404 Page:

In the past we have already showed you how to display popular posts on your sidebar. However, here we are showing how you can add them in your 404 page as well. The method is the same as we have told above, just paste the following code in “Custom Page Not Found” in blogger settings.

<script type="text/javascript">
function getYpipePP(feed) {
 document.write('<ol style="">');
 var i;
 for (i = 0; i < feed.count ; i++)
var href = "'" + feed.value.items[i].link + "'";
var pTitle = feed.value.items[i].title;
var pComment = " \(" + feed.value.items[i].commentcount + "\)";
var pList = "<li>" + "<a href="+ href + '" target="_blank">' + pTitle;
 document.write(pComment); //to remove comment count delete this line
 <script src="
<span style="font-size: 80%; float:right;"><a href="">Make your own</a></span>

We hope this article would have helped you in making your 404 page more useful  and engaging in Blogger. No matter you are beginners or an expert feel free to work around with code and use your creativity to make your 404 page attractive.

We have some pre-made attractive 404 not found page design for blogger so that you can just copy and paste in your site.

The Editorial Team of MyBloggerLab consists of a group of Professional Blogger geeks Led by Syed Faizan Ali (Founder of MyBloggerLab).

Comment With:
Choose Wisely!


July 30, 2014 at 5:44 AM

The code will not be accepted with "link"

Editorial Team MOD
July 31, 2014 at 12:17 AM

Remove this from the code

<link href="" type="text/css" rel="stylesheet" />

Replace with this
img.label_thumb {
float: left;
margin-right: 10px !important;
height: 65px;
/* Thumbnail height */
width: 65px;
list-style: none;
display: block;

.label_with_thumbs {
float: left;
width: 100%;
min-height: 70px;
margin: 0px 10px 2px 0px;
padding: 0;

ul.label_with_thumbs li {
padding: 8px 0;
min-height: 65px;
margin-bottom: 0px;
border-bottom: 1px dotted #999999;
list-style: none;
display: block;

.label_with_thumbs li {
list-style: none;
padding-left: 0px !important;
list-style: none;
display: block;

.label_with_thumbs a {
text-transform: uppercase;

.label_with_thumbs strong {
padding-left: 0px;

August 28, 2016 at 10:09 AM

very good and informative especially for newbies. Thanks MBL

Post a Comment

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

Helping You to do Cool Things With Blogger Since 2012™.

© Copyright 2012 - 2018. MBL Networks, All Rights are Strictly Reserved.