SME Pals is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Learn more.
Managing 404 server error response pages

How to handle 404 errors

websites

Well managed 404 "file not found" errors can turn potential problems into great opportunities that help you get the most from Web traffic that might otherwise slip between the cracks.

Even if visitors are trying to find content that no longer exists, a good 404 error page can direct them to the information they are after and lead to a conversion - just like any other good landing page.

Makes sense right? Just because a visitor is after a non-existent page (perhaps they have been directed to a mistyped URL from another site) doesn't mean we can't try give them what they're after anyway.

This article looks at how to implement and improve on standard 404 error pages for business websites.

404s & server response codes

It's important to note that a 404 page also requires a 404 server response that tells browsers and search engines that page does not exist.

Without the correct server response, googlebot will most likely go about indexing non-existent pages and this can lead to some serious indexing issues - and potentially a penalty down the line.

A good way to check whether your server responses are configured correctly is to use the Fetch as Google tool in Google Search Console. Simply add the relative URL in the space provided and click Fetch. this will bring up a page that looks like this:

Fetch as google showing correct responses

As you can see the top result shows an error (because that particular page no longer exists on the server), and clicking on this link brings up the result as seen by Google (note the server response code right at the top):

404 server response as seen by googlebot

This is exactly as we want it because we can be sure that Google won't get confused and add this URL to the index. For completeness, looking at a page that does exist on the site, gives the expected 200 (OK) response:

200 OK server response as seen by googlebot

Getting server responses working correctly is absolutely vital from a search optimization perspective - especially if organic traffic from Google is an important part of your online revenue stream.

But what do human visitors actually see when the server responds with a 404 code? This is where applying a bit of strategy can have tremendous benefits...

Helpful 404s

Most companies tend to provide a standard Page not found notice and leave it at that.

Ok, so technically that's accurate. The page doesn't exist, and that's what the visitor is told. But leaving it at that is inviting the visitor to go to a competing site to find what they're after. That's definitely not what you want.

This leads some companies to add a bit of helpful, generic information about the most important parts of their site - in the hope that the visitor will click on a link and continue browsing around.

404 pages can be made like any other web page, and most decent hosting package make it quite easy to specify which page the server should respond with along with the 404 server response - traditionally, it's something like 404.shtml.

Here's a good example of a generic 404 page:

Generic 404 page

There are a few features to make note of:

  • File not found header: Make it immediately clear that this is not the page that was originally requested
  • Tagline: Let people know what the site is about in one line
  • Snippets: Link to the most popular and useful pages on the site

This particular page also has a Google ad embedded in it, which is not really helpful or useful, so that is definitely something that could be reconsidered.

Finally, this page might look a bit plain to you, but there's a good reason it is missing the sidebars with all the informational blocks and associated content that goes with a standard page - performance.

Without knowing precisely what a user is after, there is little point in incurring performance costs or slowing things down by including rich media and other content. It's generally a good idea to keep things light, simple, and fast so that users can make their own decision about where to go (based on the information you have provided).

But can we do better than this?

Advanced 404s

A very common cause of 404 error pages is careless copy and pastes from other webmasters - often a link pointing to your site may have only a few characters chopped off the end. By looking at the URL that a visitor tried to visit, it is often possible to get a good idea about the type of information they may be after.

This means that you could perform a site search based on any meaningful keywords present in the URL and return the results as a part of the 404 error page. SME Pals does this. Here's a screenshot of a 404 page in which the last few characters of the URL for a marketing strategy article was purposefully chopped off:

Dynamic 404 page using site search results

Note the fact that the first result is likely to be a page that is of interest to the visitor because it is closely related to what they were after in the first place (if not the precise page they wanted).

Having a dynamic 404 page that offers highly relevant information based on what the user wants is a huge improvement over static, generic 404 pages. We've essentially taken a server error and turned it into an opportunity to meet the needs of a visitor, and this will drastically improve the chances of making conversions.

What do you think of this strategy? What other strategies have you seen for serving 404 pages that would help a business to engage and meet the needs of their visitors better?

Share your tips in the comments.

Shopify vs. Volusion vs. Bigcommerce
Top 3 eCommerce site builders, comparison review. Pic by Martin SoulStealer

We've researched and compared each of the three leading eCommerce website builders to highlight which ones are the most popular, offer the best value for mon

Free Web Designs from the Top Website Builders
Free Website designs from top website builders. Pic by Yann Coeuru

Website builders have forever changed the world of Web design by allowing us to use free, responsive themes and templates to manage the look and feel of our

How to Start an Online Boutique with Shopify
Shopify eCommerce website builder

See how Shopify makes it quick and easy to design, build and host your own cutting-edge, responsive online store/boutique.

How to Build a Free Website with Weebly
Weebly website builder

Here's a quick step-by-step, beginner's guide to making a free website (start for free, or choose from their low-cost paid plans) using Weebly - one

Everything About Website Builders
Cheap website builders that are free to start

Compare and rank the best website builders (all free to start and cheap to maintain) on everything from responsive design, to SEO, value for money a

Beautiful Web design (for beginners) with Google Fonts
Make stunning sites using Google fonts

Regardless of whether you have a blog or an eCommerce store, having a beautiful website will lead to an increase in conversions, because people trust profess

How to Build an Online Store with BigCommerce
BigCommerce shopping cart software

Learn how BigCommerce makes it quick and easy for anyone to sell (anything) online from their own eCommerce store.

Top Dedicated Server Hosting (Comparison Table)
Dedicated Server Hosting Comparison

Are you looking for dedicated server hosting for your blog or business website, and want a comparison table of the best plans from leading Web hosts to help

5 easy tips to improve your Web design
Five great ways to make your site better

There are a few main reasons why every Webmaster should be constantly on the lookout for ways to improve or upgrade their websites.

How to integrate GetResponse into your shopping cart
How to add Getresponse email marketing to your store

One of the key factors in the success of any eCommerce site is great marketing - and email is one of the most effective of all Internet marketing strategies.

How to Create a Free Website with Wix
Wix website builder

Wix is one of the world's best online website builders with over 150 million sites created, and you can get setup for free in minutes by foll

How to Make a Website for Free
Create a free website

Learn how to create the perfect website for free with great design and functionality that's super easy to maintain and cheap to operate.

Back to Top

哆哆女性网网络网店起名大全营销式 网站建设色色小说草头的字给男孩起名八字命运推算法积玉桥金地国际花园上海专业seo优化新征程新起点的名句风扇作文公司起名做绿化seo研究室免费周公解梦大全查询营销型网站建设公司哪家好满意度测评方案吉首金牛养生有哪些项目周易六十四卦卡牌周易八卦算财运生辰八字算命寿命长短睢县狗市辅助网站制作周公解梦很多蛇长治网站制作公司周公解梦梦见发大洪水自己怎么制作网站免费婴儿起名字算命免费算姻缘淘宝起名哪家靠谱山鹰组合景区旅游营销推广恐怖小说排行榜淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻不负春光新的一天从800个哈欠开始有个姐真把千机伞做出来了国产伟哥去年销售近13亿充个话费竟沦为间接洗钱工具重庆警方辟谣“男子杀人焚尸”男子给前妻转账 现任妻子起诉要回春分繁花正当时呼北高速交通事故已致14人死亡杨洋拄拐现身医院月嫂回应掌掴婴儿是在赶虫子男孩疑遭霸凌 家长讨说法被踢出群因自嘲式简历走红的教授更新简介网友建议重庆地铁不准乘客携带菜筐清明节放假3天调休1天郑州一火锅店爆改成麻辣烫店19岁小伙救下5人后溺亡 多方发声两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#青海通报栏杆断裂小学生跌落住进ICU代拍被何赛飞拿着魔杖追着打315晚会后胖东来又人满为患了当地回应沈阳致3死车祸车主疑毒驾武汉大学樱花即将进入盛花期张立群任西安交通大学校长为江西彩礼“减负”的“试婚人”网友洛杉矶偶遇贾玲倪萍分享减重40斤方法男孩8年未见母亲被告知被遗忘小米汽车超级工厂正式揭幕周杰伦一审败诉网易特朗普谈“凯特王妃P图照”考生莫言也上北大硕士复试名单了妈妈回应孩子在校撞护栏坠楼恒大被罚41.75亿到底怎么缴男子持台球杆殴打2名女店员被抓校方回应护栏损坏小学生课间坠楼外国人感慨凌晨的中国很安全火箭最近9战8胜1负王树国3次鞠躬告别西交大师生房客欠租失踪 房东直发愁萧美琴窜访捷克 外交部回应山西省委原副书记商黎光被逮捕阿根廷将发行1万与2万面值的纸币英国王室又一合照被质疑P图男子被猫抓伤后确诊“猫抓病”

哆哆女性网 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化