What is a 404 Error Page and How to Create It Properly


Guests often see a 404 web page after clicking on a non-existing URL. It informs customers that the web page they’ve been looking for is lacking. 

It might appear plain and easy, however in actual fact, loads of issues can go unsuitable relating to crafting a correct 404 web page. Let’s discover out what errors site owners and builders make when organising a 404 web page.  

Why customers see a 404 web page

A 404 web page is the HTTP normal response code that signifies {that a} person reached a non-existent web page due to clicking on a damaged hyperlink, mistyping a URL, or as a result of the web page has been deleted.

In such instances, a person often sees one of many normal messages: 

  • 404 Not Discovered
  • 404 Error
  • HTTP 404 Not Discovered
  • The web page can’t be discovered
  • The requested URL was not discovered on this server
404 meme

But, there’s another choice. As a substitute of the usual messages, a person may even see a well-designed web page with custom-made navigation components. This state of affairs is a lot better, and later we’ll clarify why. Within the meantime, let’s determine why a person sees a 404 web page: 

  • Damaged inbound hyperlinks. Let’s say that you’ve got a web page with subscription plans that appears like this https://seranking.com/subscription.html. If we add one letter “s” to the phrase “subscription”, the hyperlink will result in a non-existing web page https://seranking.com/subscriptions.html.
  • Incorrect inner hyperlinks in your web site. For instance, a webmaster or a content material supervisor forgot so as to add “.html” to the URL https://seranking.com/subscription.html. If customers comply with the hyperlink https://seranking.com/subscription, they may see a 404 web page. 
  • Consumer errors. A person can sort an incorrect URL within the deal with bar. 
  • Hidden content material. When customers attempt to entry hidden items of content material on an internet site, they are going to be redirected to a 404 web page as nicely. 
  • Deleted pages. Lastly, you can have deleted a web page out of your website and somebody would attempt to entry it from saved bookmarks or by following a hyperlink on one other web site.

Though there’s technically nothing unsuitable with having 404 pages on an internet site, site owners ought to preserve tabs on them to ensure all of the pages that had been eliminated had been deleted on objective. It’s important to usually do web site audit to determine all of the 404 pages and deal with any attainable errors promptly.

As soon as you realize the explanation for 404 pages, right here’s what you are able to do about it: 

  1. Decrease the possibility of displaying a 404 web page to a customer. In fact, you can’t make customers enter a URL deal with appropriately. But, you may repair the damaged inner hyperlinks in addition to damaged inbound hyperlinks. 
  2. If a person finally ends up seeing a 404 web page, it’s a must to be sure that it’s well-thought-out. Thus, you may reduce reputational and usefulness damages.

The best way to repair 404 errors – ideas for customers

For those who bought a 404 error, here’s what you are able to do:

  1. Attempt refreshing the web page. Possibly some one-moment glitch occurred and this time the web page will load easily.
  2. Test as soon as once more if there are any typos within the URL. Are all slashes in place? Has the “l” in “.html” not been often deleted?
  3. Attempt loading the web page from one other machine. If any error on the shopper aspect (machine or browser) passed off, the web page would nonetheless be accessible from one other one. If that labored, don’t forget to wash the cache on the primary machine.
  4. Use the search. Google “website:[domain] ” of that web page. It might occur that the web page’s URL was modified with out redirecting to the brand new deal with. If that’s the case, looking ought to assist.
  5. Head over to the Net Archive. If not one of the above solved the difficulty, there’s nonetheless an opportunity to succeed in the content material you want or a minimum of certainly one of its earlier variations.

It additionally shall be a plus for those who report an issue to an internet site’s help so that they resolve it on the first comfort.

What makes a great or unhealthy 404 web page?

Regardless of how arduous you attempt fixing all of the errors, customers will often stumble upon your 404 web page for one purpose or one other. That’s why your essential aim is to supply a person with a fairly nice expertise. 

First, let’s check out Google’s suggestions to create the appropriate 404 pages:

  • Notify customers in a well mannered type that the requested web page will not be out there. 
  • Design a 404 web page in the identical means as different pages of the web site. Navigation components ought to look the identical too.
  • Hyperlink your 404 web page to the most well-liked articles or remark sections, in addition to to the principle web page.
  • Present customers with a possibility to report damaged hyperlinks. 
  • Even when your 404 web page is beneficial and appears nice, you don’t need it to seem in Google search outcomes. Be sure that the webserver returns an precise 404 HTTP standing code when a lacking web page is requested. It’s essential to stop such pages to be listed by engines like google.

Let’s check out every of those suggestions in additional element. The traditional instance is a server error web page that doesn’t have any design and what’s worse—it doesn’t assist guests navigate to a sound web page. 

standard 404 page

Nobody is pleased to see such pages. As an illustration, for those who’re making an attempt to get data on a product and click on a hyperlink that you just anticipate will lead you to that data, touchdown on a 404 web page will be irritating. A 404 web page signifies that the content material you had been in search of wasn’t discovered. Most customers could be irritated and simply depart your web site to look some other place. In different phrases, you’ll flip many potential clients off to your model. Research additionally present that plain 404 error pages are undoubtedly not the very best answer as a result of customers make selections extraordinarily shortly these days. 

Lastly, that is the precise reverse of what Google recommends. After realizing that the wanted web page will not be discovered, customers usually are not inspired to look additional into your web site. That’s why your essential aim is to show this error into one thing lovely.

So, what’s a tremendous 404 web page? Google describes it as follows:

  1. A 404 web page ought to be much like different pages of the web site, apart from the textual content material. And that is sensible as a result of the principle aim of this web page is to tell customers that even when the web page is lacking, they’re nonetheless on the identical web site and every part’s going to be fantastic. Guests ought to see the acquainted colours, emblem, menu, and navigation components. 
  1. Add a navigation block with hyperlinks to your best-selling or the most well-liked classes to make a person keep on the web site.
404 links
  1. Function a search bar. There’s a likelihood that guests will use it, enter a extra related request, and discover precisely what they want. 
404 search bar
  1. Add a contact type to permit customers to inform you about the issue and report a damaged hyperlink. This fashion, you may successfully talk with customers, enhance the standard of your web site, and even discover hidden errors.
add a contact form
  1. Do away with the scroll bar. It is very important match the webpage precisely because the display measurement with out scrolling.
scroll bar
  1. If a 404 web page reveals up due to an authorization request, it’s best to present the login type on the web page. 
404 login

But, there’s something extra. By creating a superb 404 web page, you may flip the state of affairs to your benefit and change into viral—folks may share your masterpiece and neglect about all unfavorable feelings related to non-existent pages. Yow will discover examples of nice themed pages right here or simply seek for “finest 404 pages.” 

themed 404 page

These guys actually did an important job as that is one thing folks wish to share on social networks.

Don’ts for 404 pages

Poor data on 404 will not be the one downside with error pages. There are a couple of different frequent errors to keep away from. 

Redirect to the principle web page

A 404 web page remains to be a 404 web page, so you shouldn’t arrange a redirect from this web page. Your solely viable possibility is to stick hyperlinks to the principle web page (and different related pages) in order that customers can click on on them and proceed their journey. The net crawler ought to perceive that the web page will not be discovered (in case of 404 standing code) or deleted (in case of 410 standing code).

Thus, you shouldn’t redirect customers to an irrelevant web page, such because the homepage. John Mueller, the search advocate at Google, said the identical in certainly one of his tweets:

You should still discover WordPress plugins that redirect non-existent pages to the principle web page, however we strongly advise in opposition to utilizing them. 

There is just one state of affairs during which these redirects are cheap, which is when the redirects are to pages that meet the person’s related search intent and resolve the person’s related downside. 

Create a customized 404 web page

We’ve discovered what the proper error web page ought to appear to be. Now, let’s see easy methods to add a 404 web page to web site:

  • As soon as your web page is completed, add it to the foundation listing of your web site (or replace to a brand new model if there was one). For instance, it could be “404.html” or “404.php”.
  • Whereas within the root listing, open the .htaccess file (or create one if lacking).
  • Within the .htaccess file, add the document ‘ErrorDocument 404 /404.html’.

That is the fundamental movement. Nonetheless, some CMS (content material administration methods) might generate a 404 web page routinely or present a user-friendly approach to edit it. Additionally, there are many plugins (just like the 404 web page for WordPress) for well-liked CMSs that permit you simply create, handle and set redirects for 404 not discovered errors.

Different HTTP standing codes for error pages 

In line with Google Search Central, there is just one HTTP response standing code for a non-existent web page, and this code is 404.

However amongst different 4xx errors, there are 400 Dangerous Request, 401 Unauthorized, 403 Forbidden, 408 Request Timeout and 410 Gone.

One other story is that fairly often, site owners deliberately make a customized 404 web page ship a 200 standing code when it ought to return 404. 

In that case, 200 standing code signifies that the request has succeeded, however there isn’t a end result. That’s why serving up a 200 standing code on the not discovered web page to crawlers will not be a good suggestion and might ultimately result in unfavorable penalties:

  • 200 standing code permits robots to scan and index the web page if there aren’t any different limitations;
  • The web page will not be tagged as non-existent and thus will not be blocked from crawling. This will trigger soft-404 errors. 

That’s why you want to monitor servers’ response codes. You are able to do it with the assistance of the SE Rating software for search engine optimization web site audit.


Rating your web site in 2 minutes.

Enter any web site URL to get an in depth report on tech points and recommended options.

Within the “Web page Evaluation” part, you may see what number of 404 pages are in your web site. Within the “Crawled Pages” part, you may filter the wanted pages by HTTP response standing codes. 

404 pages in the Website Audit report

By correctly dealing with error web page standing codes, you may assist your web site enhance rankings. Test in case your website positions improved with SE Rating’s search rankings checker.

HTTP standing codes key takeaways:

  • After discovering a 404 error, an internet crawler will proceed visiting the web page for some time. It assumes that the error response has been by chance displayed and the web page shall be again. Finally, a bot will perceive that the web page doesn’t exist and take away it from the index.   
  • Pages will be deleted quicker if a 410 (Gone) standing code is used. Nonetheless, that is often not a giant deal for site owners, so they have an inclination to make use of a 404 code.  
  • The 200 standing code reveals that the request has succeeded and the web page exists. 
  • When a browser shows a 200 message when technically the web page doesn’t exist, the web page will be flagged as a Delicate 404. You’ll be able to learn extra about Delicate 404 on Google Search Central. Right here, John Mueller additionally explains why pages might change into Delicate 404s. 
  • The 301 (Moved Completely) code reveals that the non-existing URL has been redirected to a brand new everlasting URL.

So, let’s sum it up. What do you have to do to keep away from issues with 404 pages? Simply create a tremendous 404 web page that may ship the 404 response code and supply customers with all essential choices to maintain them on-site.

404 web page FAQ

On this FAQ part, we’ve collected and answered among the mostly requested questions on 404 error pages. For those who nonetheless have unanswered questions after studying this text, you’ll discover additional explanations and options right here.

Why ought to I create a customized 404 web page?

There are a number of explanation why making a customized 404 web page can profit your web site. It’s an effective way to: 

  • Enhance the UX. It gives useful data to guests who might have landed on an error web page. This contains hyperlinks to different pages in your website, a search bar, or a message explaining what might have gone unsuitable and the way guests can discover what they’re in search of.
  • Construct model identification. Making a 404 web page that showcases your distinctive type and character helps set your website aside from others and creates a memorable expertise for guests.
  • Scale back bounce charges. Guests could also be extra more likely to keep in your website and discover different pages in the event that they discover the error web page partaking and informative.

Are 404 pages on my website unhealthy for search engine optimization?

Having 404 error pages in your website isn’t inherently unhealthy for its search engine optimization. Google Search Console Assist notes that 404 errors received’t have an effect on your web site’s search efficiency, so you may safely stay with them so long as you’re certain that every one URLs returning 404 responses don’t exist. 

But when this isn’t the case otherwise you aren’t dealing with them correctly, 404 pages can definitely do hurt to your web site. You wish to be 100% sure that the web page with a 404 code isn’t an vital web page in your website, (i.e., one which drives site visitors to your web site, converts guests, or describes your model). As well as, if many pages in your website return a 404 error, engines like google may additionally assume that your website is unreliable or poorly maintained, in the end harming your search rankings.

The best way to discover 404 pages

You need to use completely different strategies to search out 404 pages in your web site. You need to use Google Search Console in case your web site is related to it. For those who haven’t related your web site to GSC, take into account testing our information on easy methods to arrange GSC. When you’ve related your website, go to the Indexing tab and select the Pages report. Within the desk, click on Not discovered (404) as the explanation why your pages aren’t listed, and an inventory of 404 pages in your web site will seem.

You may as well use website crawlers like SE Rating’s Web site Audit to determine 404 pages. When you create a venture and run an audit, the Situation Report will show issues associated to the HTTP standing codes in your web site. The Crawled Pages report beneath the Web site Audit software lets you filter out all 404 pages for additional evaluation. 

Can gentle 404 pages hurt my web site’s search engine optimization?

Sure, gentle 404 pages can probably hurt your web site’s search engine optimization as a result of they’re complicated to each search engine bots and customers. Search engine bots will mistakenly assume that the web page is efficacious and related and crawl the web page as a result of gentle 404s all the time return a “200 OK” standing code. For the reason that web page doesn’t truly exist or doesn’t have any content material, it doesn’t present any relevance to the person. 

Returning a “200 OK” standing code for a lacking or empty web page is taken into account unhealthy follow and provides poor person expertise, leading to decrease rankings.

The best way to create customized 404 pages that profit UX

Crafting a well-designed 404 web page contributes to offering guests with a greater website expertise. Do it proper by following the following pointers:

  • Clarify to the person what occurred and what they’ll do subsequent. 
  • Make a 404-page design in keeping with the remainder of your web site.
  • Embrace hyperlinks to well-liked pages, classes, or current posts to assist the person discover what they’re in search of. 
  • Add humor, pictures, or different partaking components to the 404 web page to make it extra attention-grabbing and memorable.
  • Check your 404 web page to make sure it’s working as supposed. Use analytics to observe how customers work together with it.

What’s subsequent?

There are many different web page varieties that generally get dismissed however have an effect on your web site’s UX and search engine optimization. Listed here are some extra sources to get you began so you can also make certain each web page in your web site delights your customers:

Have a great and useful learn!


Scroll to Top