Some people choose to customize their 404 page with ads, and that’s perfectly fine. I don’t use ads, so my 404 page used to look like rather bland and utilitarian:
<h2>Sorry, the page you're looking for is not in (holiday?)</h2> <p>Sorry, we cannot find the page that you are looking for. It might have been removed, had its name changed, or is temporarily unavailable.<br/> Please check that the Web site address is spelled correctly. </p> <b>Other things to try:</b><br/> <ul> <li>Use the blog search field at the top to search for articles or the one below.</li> <li>You may browse by keywords / labels / categories. You will find them in the cloud on the right.</li> <li>At the end of each article you will find a number of predefined searches or "Tags." Clicking them will display all the articles containing that word.</li> <li>If a video does not show up, it may be because YouTube has changed the embed codes for Playlists. You can still see it by clicking "yt-" link in Sources, which will take you straight to the playlist page on Youtube. <li>If you know the approximate time when the article was published, you might want to search for it in the chronological archive, accessible in sidebar under "Archives."</li> <li>Go to our <a href="/">home page</a>, and use the menus or links to navigate to a specific post.</li> <li>If you have further questions, please read the FAQ (click the menu link at the top). <li> <form method="get" action="/search"> <table width="100%"> <tr> <td><input type="text" style="width:95%;padding:2px;" value="Search this blog.." onfocus="if (this.value == "Search this blog..") {this.value = ""}" onblur="if (this.value == "") {this.value = "Search this blog...";}" name="q"></td> <td><input type="button" Value="Search"></td> </tr> </table> </form> </li> </ul> |
A service I recently learned about allows you to display an updating picture of missing children on your 404 / Not Found page:
According to tnw,
NotFound was cooked up by Brussels-based advertising agency Famous (via Lev Detrez).
Strangely, rather than having a piece of code that anyone could just copy and paste, the website requries registration. We did register and obtained the following:
<iframe height="650" src=http://notfound-static.fwebservices.be/404/index.html?&key=aa9b09a0f9fd4f44386be6ebfbf6e9b5 frameborder="0" width="100%"></iframe>
Looking at the code, it seems that the key is tied into the registration. You should probably obtain your own registration by going to the site’s process (link below, in Sources). We pasted the code above on top of our 404 page.
Just in case you want a different more personal 404 / Not Found webpage, there’s more tricks you can use. On Blogger, you may do the following:
- To change the Page Title, add the following right under <head> in your template:
<
b:if
cond
=
'data:blog.pageType == "error_page"'
>
2
<
title
>You've ripped a hole in the fabric of the internet. </
title
>
3
</
b:if
>
- To reset the styling, add the following to your template:
<b:if cond='data:blog.pageType == "error_page"'>
<style type="text/css">
.status-msg-wrap {
font-size: 100%;
margin: none;
position: static;
width: 100%;
}
.status-msg-border {
display:none
}
.status-msg-body {
padding: none;
position: static;
text-align: inherit;
width: 100%;
z-index: auto;
}
.status-msg-wrap a {
padding: none;
text-decoration: inherit;
}
</style>
</b:if> - To provide your visitor with an option to search your blog, use
<form method="get" action="/search"> <table width="100%"> <tr> <td><input type="text" style="width:95%;padding:2px;" value="Search this blog.." onfocus="if (this.value == "Search this blog..") {this.value = ""}" onblur="if (this.value == "") {this.value = "Search this blog...";}" name="q"></td> <td><input type="button" Value="Search"></td> </tr> </table> </form> - You may also use any of the following general hacks.
One nifty trick is to use one image as a page background, with the following code:
<
style
type
=
"text/css"
>
2
body {background:white url('imageURL') 50% 0% no-repeat !important;z-index:10000000;}
3
.sidebar, footer, .content, .header, .columns-inner, .footer-top {display:none;}
4
body {min-width: 0px !important;}
5
</
style
>
Replace “imageURL” with any of the following after making sure they work (hover with your mouse to read a quick description):
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDofX0DDRcxnFFhdQfllNZKkkwrG8Hy3nb3zNqm9PxD4iKR6sSKf1lKOvIbn8DreXoSQrjvPm2LEaQKnWlnDDdluKFUjwHDx2X5IB1LrluOyN5AJAQJx_6O6S87rhOuwE99dzdiT3dtVk/s1600/1.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsl__IRU-WcgKKXAdToCSKPhTG1nDiWn1pDXmW2sjIh5VAGR0eTcsQB_hp3W7tmpJA2wlP18SIi1HNw1nz8QxXW9zyj6GlthOv6n69mrgASAnee_1D3L3g3HZ9hYg7-EfM0Ncna926uacz/s1600/2.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj5JdyoJnEydKT4hUimcq1ztIc-_EardEXlkpTNr40S8L3lN0RMFcHhXzBf4fpBrpzz-3sgctaIVgWIzouK2hQWB-GWx2U7HVIl4ZlgC86fsj_7ND-IRF7kZW28SFfVtfLkhSAuni8uMKV/s1600/3.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrVT6pLAM0ZvWPz-unWhY-eg78CfwkRGABa88sjn3JgOhF5yBdFpe1cffEn_ZDwNUAkt6aML23oq3ThILv9DplNXYKz53X6VCzMoNTw7Sjau99UYnxsIAlr-blC_hNMxlryAfxyCXs8T9X/s1600/4.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4F-O2W_QZgzLvYcL1HP8sZheylau8Q9jqFw69klNjAzm9b1itsa1jzDgTynKlguyo1UD2fwcO-FM6mOe_WNS_EU8RaZHW_lT812MhtVnOJHhQ60xVvdsETopPD-1MYJGtFAzjrlRYaaKV/s1600/5.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb3Mqd5UkB53QgowBCtzCVE4V4uYjCYndopTALFfsaPjil32AxXJnvSUQjsjKw3zzTrvj6iT562sb5QJDgHDnIHbpNz8xeWTDx9fizxbJwn91fVuHY83zfQ-q6pIynV5BILuHmFhRTjRSv/s1600/6.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0oi_Y4ZrBe3ZM5psajCx9rIWc95Ec6zhBdU10455U7-MFR6laUkjpAGXRznjEskpQAciJLC18V7Ks28sLrNzdAUdSuM6FjwkYITRTZfG0tBA903X4DcrKh6lsofxRoAjGfOaOS0Qcu-Jc/s1600/7.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6UyM0tVC79nCeGKtqwNuDPDJaj29btcYCXdU1oQYXJK1AU7XU6ZX35ZdACBsZR-DPvkyJFgNDuo62UTws7UTizLCgxZXDRLx76H90aI1cFCn7xWhCtJYFOvLOwb9anIJTsXpnNk4nSF1X/s1600/8.jpg
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKIGrBiaUEG-zzZcV8Jc82Y7H2K__TFr5toLeOfV_xYo3EFgo_5tUIflYknUjw13LgEfpyF54eaR5EkmcOuJVOsQqvPqyH99seTCFElpC4whVs4fYcuslVz3XVSBtAx4GY3W5L6zCXHUQf/s1600/9.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh14fV2WptdZrvd9K1GNHJE_TcsNzikYgPan5xIPI5u7dfUNOpFuh-OQjYkrkpFA-7YnFA1p_svKw8k2sw0iX2InRuK2cQIyGqfZ8cK3yxwXJgNv5n_XXhQC_0ENOWCLJFngoe6P5Mk3mHf/s1600/10.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzlBdjVHtv3mvgMszdnT9rEwHDLt2HkAmvOY68w_D3lItRWaQyuYDaIdgWay6G22b7Nqk4j_bnpKdY3LeDqWpMUanqJAa0X0RTWxGTNBTm3bZzvvEVkGQd6VrXsovDluLHh_t_thzSQaU2/s1600/11.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU02XAmCMqeIR4TVdU3foEilCuZtdMvGBg3oyMgRmEK8QhXxLbAzetl6nSh1joImPUGnJldVGG_ZUzj-5iTBD_iEqBhC5Krh4yJXucVSNlnSKOq82VO2j0iHZ1PAIb7USrDnhWcsLEzLxB/s1600/12.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAvy9wZz8AJWHOfL7owpW1H19AF0GAr400WCc0090BLCrZzD7MpkOeYRKXM6ikMeDYOEi6dHjPgor_DM1ZfKJ_teeZ8A2qV_k0CxBETxoJ8p3IwBK7w-MljldXvrNP2bJTmDbyd198dZol/s1600/13.gif
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinp9WAGxsznoY6Y3KXJwsp9dcj4csM0T2wnZJBb2OexDZlk5M8RzVZ3mlwsaHXvPubI5Z7GN_NsDy5Ko4LIiRsEnh1O1jY2TG7m6V2dZoEid9GyboA5XjsbRXm771n3-dPMM1IT7rVCJMb/s1600/14.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnakfUZOMqh7EP3Sufw-Tx2dfly4-pan8tZxrAdhrhT3fRmwjYtvwZyHC8_LlPPv_hIje7CDJ5dDUbAKH8kBKhaS3IiHS06OxyKmNfconjcgDo_ZmFt_hIAjwxJL62a2eSx45SHbeXnEU8/s1600/15.gif
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWljyzTkHcsA_DdwyfgN7v_xyBoG5QASaZ_TT_sQRdncbkXEEMjugpXOaMz29wtwvcFb4wGBurTGX97lU2h5cUA7JFROnH77BEaB800NNB6_o2oDajZ6Pe9-qeckh4XJU2fR8A1VgepKqd/s1600/16.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkgLz2uRwM0Ne0h4OLt2igr7iszdtchf1BvGOoJXUrV5o1lF4UIBT4I3Afm2Ccog24SM4xWeOhyphenhyphen7YuD2sA2jtP3_5oR8X12ysEis_VW81x3E-afA3QgQsI8Md4sEREMjXD6T6nGgFzZNBQ/s1600/17.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggOn00dRmCnioNC9Elu22FPAMOUvj2U57NV1FBL_vKVxJ7MWRu1FpF3yyyflhafrcIi3xIn-Q7yq_fqbdhR26B00tyuqP4nRmmtPfYoWZTMX-WaTwqTQ6xv1Xb5PWyS3l4p74BofF18puL/s1600/18.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkAm0cyzqn1WDfj3k8hLBQgS88EjqcSNZtnP0qTB_mk1Z3gvZty6cBFPveGaJIgnudqamN8J7qZ28tPjMZV4D0h8vf4d8JlCgIVLLe4l00c0dGFtZQMIRRVmCuKz97omRAdXSiEIAs9bMI/s1600/19.png
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTkqNDO78uB-WpDx6MvUb3bPsjmVTa16K3ePaQMwX78CwjRKz12udVIXMP9VBk6A-5i8DZw6s-Tr7RiVDbx5DuczPUVlbV1E9GBZr4UQ0nH1wZu8yfIyU9LwD3Kql7_l6gr3C_nXiz6w64/s1600/20.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXe6SsNe4qGg6N9XbtQcJfjHXG6jPoPmqLADReL_xwvRr9q0JnR_vdjYtbwni8LlJZMtkUmpHi0EGw08ABJNFzPG3V3V0w3sbvN6R1z4LKtaLmehoes8KX2Ocd240bt6TCa4RKEbj2b9Yz/s1600/21.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4XJ-SNBF2YdLcu8FTS7Fdgb2vXtkab8vS8S4XfmfXfBBuyw6zONBWcvF4u0_iyfWNjZ6Fm_ajbVyuxksVi5LBeFLdA5yQaudxE0pcfKY6b0vUjqqyEiDrSH2IzHjO3xRB1O_6yKJBWxsK/s1600/22.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggQhEJrN4FZln9c4kV0b0BehByUFZmdpzifjPyMQr7vRQtuKiGJm0H08BTcbyo-_FDo_YR6jVjpLTq8_xKKGlQ800Nw48LznBibvQ4KHbfGBtJ-ZSZi6t2zPK6SAdb-w-ppD30HLvpxl0F/s1600/23.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcURWcDkucMUTiTzqAj8wDH7xZgsi4MdrCt7WH5m3O78z1vjKA_9wEcPC7hmMaMCXc5y7Dm6leqDdk_Tm91_bsDRN8sGNMdgFofk4JmTTrG2v_SkeSxah3qbVs4t1boiCx8j0oQaFTxy3z/s1600/24.jpg
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGXk29oM0KpzGJ79SUUhwAH3UXQ8IPb4MgVajXT6EyP_QWNluL-9iP6_PcLLZkZVspx8o1d9EqSfTlftHf3dqf73cbSMwf4Btw0ZhQ2iiSziXMCPQ93yJ2es8G7I1tX3WHMJTamD1-b0PX/s1600/25.jpg
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgykOXTWDcOEY3m2imUdmeJEBhjVcPfWUC7_jviLuJ7WHHe7nxz1gwIfEyz3EuEnOnvyqMvskUkgKEc029XJgXAIx-gMDjd0JHn2IdWj-wnNxEy-hAAXnAi7K5KCLKKVIyiPY0iKcjtew65/s1600/26.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfTFeup3rPuAhiXXMbgmAdpHTo9WOdpD8iDMNEMJTWtWwXrBQ4BL4X1gZWnOF44j7CV0nIhyphenhyphen58y3JUIi3Vo6qHQTE6YDotZkFWCxmeefo-zvAgQGUoxRUzXKAlo6AiWb96dXV_OjsEuhjz/s1600/27.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeKTWtJQOAmonBAiNeqxt-_FVy0ganGMduiY6Huzu2_y_tsubzSb0z2JRKvZAs_W40eyhXTS_eP7n_LAYQsq97e5N6Vx3ewWRCnoKZD2QIq-wSpbith32bHAnNuEbcFEmQNHTkQGF76X8f/s1600/28.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKUF6qNSVUYoASrHsPsQT1UiQx3JkdKRkcntsL68tytcvjn_RGbqrfaHXAnqUgGma1OMi9Xwwc5UEogvJGUjG8556YQgK6iuZvuzg8IhmYj0L8hf6kjXgLlFsE0Nm0K_92XFhdMvjqd5eC/s1600/29.PNG
- https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1oZ8HQyDdR_5_zdWXSrONdcNddx4rg0yP_cNPexlXRG5_i53Yd80t_1-KX-ZTRnFUr-eaa8t7Rv42F1Hti7L_o09G4OqziiADdzvUE76hZMUBzwEFqBX6RPFUZnQADq3B46kB6OsGappq/s1600/404.jpg
Note, however, that some of these may actually be subject to copyright (see the link we provided below for inspiration).
Finally, you might want to use Google missing page search code, which will populate the search field with the keywords that led to the missing page:
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'en-GB';
var GOOG_FIXURL_SITE = 'http://3w.blogidol.ro’
</script>
<script type="text/javascript"
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
</script>
Make sure you replace 3w.blogidol.ro with your own.doma.in. Don’t forget that nothing prevents you from making your own using hk-404 as inspiration. Keep in mind though that other sites use 404 as a automatic redirect to their homepage.
Sources / More info: notfound.org, tnw, bp-404, syb-404
No comments:
Post a Comment
Thank you for commenting and rest assured that any and all comments are welcome, whether positive or negative, constructive or distructive. Unfortunately, if you comment in this view I might not know about - please use the regular (Desktop) view.
I am using Disqus for commenting, but Blogger is not showing it so your comments may end up not being displayed - tell Google about it!