44 responses to “Customize your 404 page from the WordPress admin”

  1. John (Human3rror)

    that’s awesome.

  2. Ozh

    A cool way indeed to make editing 404 easy for end users.

    Why not use new function the_widget() instead of registering a new sidebar?

  3. links for 2009-05-14 | Links | WereWP

    [...] Customize your 404 page from the WordPress admin (tags: WordPress tutorial 404) [...]

  4. WordPress Weekend Resources - May 15, 2009 | Theme Lab

    [...] Customize your 404 page from the WordPress admin – Okay, I admit it. The 404 pages of my free WordPress themes suck. This is a relatively simple (but useful) technique of widgetizing a theme’s 404 template. I’ll be using this method from now on, as it really is the perfect solution for dealing with 404 pages of public theme releases. [...]

  5. Many

    Haha you really are amazing Justin. Another reason for me to keep using a cool theme like hybrid :D

    Thanks for the tip !

  6. sms

    all of your tutorials are just great :)
    it will be good to buy a better domain which will be related to wordpress tutorials..!
    i have a domain you can take this for free
    it is WPcodes.com if you want then contact me :)

  7. Brian

    If you do this, will it also be available via a child theme? That is, if I put a functions.php and 404.php in my child theme directory will WordPress use that one or do I have to modify the parent files? Is there any requirement to link to the parent like you do with the CSS file or does that take care of the whole thing?

  8. Phalgun

    Nice tutorial to customise the 404 error page.

  9. John Doe

    This is a lovely tutorial. I had to manually edit the files and it was a nightmare finding the correct files. Thanks for this Justin.

  10. 404-sida i WordPress som hjälper dina besökare | wpxl

    [...] att du kan en del om HTML-kod och är lite datavan. Justin Tadlock beskriver i artikeln “Customize your 404 page from the WordPress admin” hur du gör din sida redo för widgets, och det tror jag är den enklaste vägen till en bra [...]

  11. Chris

    hah, nice! Im gonna go change mine now!

  12. RS14 - Free WordPress Theme | Theme Lab

    [...] As mentioned above, there are two widgetized sidebars with one on the left and one on the right. These are visible on the main index, single posts, archives, search results, and normal page templates. In addition to the two widgetized sidebars, there is also a widgetized 404 page. [...]

  13. Wordpress Blog Services - RS14 - Free WordPress Theme

    [...] As mentioned above, there are two widgetized sidebars with one on the left and one on the right. These are visible on the main index, single posts, archives, search results, and normal page templates. In addition to the two widgetized sidebars, there is also a widgetized 404 page. [...]

  14. Sarah

    Excellent tip there. I have always wanted to enhance the 404 page and I can’t understand much from Google Webmaster tool.

  15. michaelbuengers

    nice workaround. love it :-)

  16. David Williams

    Wow, I would have never thought about doing that. It is so simple (once you’ve explained it like that) and yet so powerful. Thanks heaps for the instructions and idea, keep up the great work!

  17. Albert K.

    some wp themes already come with a designed 404 page, not just the normal “page not found” text, but most of them dont, great post

  18. RS11 - Free WordPress Theme | Theme Lab

    [...] As mentioned above, this theme comes equipped with four widgetized areas. There are the two mentioned above exclusive to the home page template, as well as one each on the sidebar and the 404 template. [...]

  19. Wordpress Blog Services - RS11 - Free WordPress Theme

    [...] As mentioned above, this theme comes equipped with four widgetized areas. There are the two mentioned above exclusive to the home page template, as well as one each on the sidebar and the 404 template. [...]

  20. Wordpress Blog Services - 5 Useful And Creative Ways To Use WordPress Widgets

    [...] Customize your 404 page from the WordPress Admin [...]

  21. 5 Useful And Creative Ways To Use WordPress Widgets « Tech7.Net

    [...] Customize your 404 page from the WordPress Admin [...]

  22. Blogspot to Wordpress

    Hey very useful but the problem is I’m using Thesis wordpress theme and can it be used along with it??

  23. 5 Useful And Creative Ways To Use WordPress Widgets | Search Engine Optimisation

    [...] Customize your 404 page from the WordPress Admin [...]

  24. le Fantablog » Wordpress : de l’usage créatif des widgets

    [...] Customize your 404 page from the WordPress Admin [...]

  25. Ditutu

    A cool way indeed to make editing 404 easy for end users.
    That’s a really good job,again…

  26. 5 Useful And Creative Ways To Use WordPress Widgets | SEO & Web Design

    [...] Customize your 404 tender from the WordPress Admin [...]

  27. Scott

    Pardon my ignorance, but how do I remove the archive listings from the Hybrid 404 page?

    -Scott

  28. Sulumits Retsambew

    I agree with you, WP default 404 really sucks. What I am doing is using the all post plug-in then customized the 404 so that it allows the visitor to search or choose from the posts. I will try this option that you recommended.

  29. 5 Useful And Creative Ways To Use WordPress Widgets | Kosvo Youth Portal

    [...] Customize your 404 page from the WordPress Admin [...]

  30. Dan

    I did your trick. It works, but only until i edit other widgets. Afterward it forgets my settings for the 404 widget and i must re-set them over and over again each time I edit the other widgets (related to the sidebar content).

  31. 使用wordpress插件的5个创意方法 at 紫泥巴的博客

    [...] Customize your 404 page from the WordPress Admin [...]

  32. Nice Blogger

    I had changed now and worked like a charm!

  33. Links 8/8/09 | Gary Simpson

    [...] Justin Tadlock on Customizing your 404 page from within WordPress admin. [...]

  34. Bethany Trinoble

    Much better, thank you. My users now get told to go and get a cuppa and a biscuit and try again in 10 minutes. It seems to have stopped them all frantically hitting F5 as well :)

  35. Frank P. Walentynowicz

    Great idea! I’ve implemented it in 10+ websites which I designed and maintain. I have one small problem or inconvenience rather. My strict rule is to always use child theme to make presentation changes. I never touch parent theme. I’ve created functions.php in my child theme and registered ‘404′ sidebar there. Because of parent-child theme logic child’s functions.php is executed first and parent’s – second. This creates the following structure of sidebars: ‘404′ then other sidebars created by parent theme. Not good. With sidebars already populated with widgets I have to manually (fortunately, one time only) move widgets from 1st sidebar (‘404′) to 2nd, 2nd to 3rd and so on. If ‘404′ sidebard could be created last I wouldn’t have to do it. I think if parent-child theme logic treated functions.php like any other templates (if functions.php exists in child theme, don’t use parent’s functions.php) that would make much more sense as for now we cannot undo whatever is done by parent’s functions. Justin, do you have any ideas how to create ‘404′ sidebar as last without modifying parent’s theme files?

  36. florist Singapore

    interesting, I can probably use this, never thought of using 404 in this way

  37. 5 Useful And Creative Ways To Use WordPress Widgets - FPT Arener – Yes! I Can!

    [...] Customize your 404 page from the WordPress Admin [...]

  38. Download Blue wordpress themes | RS11 – Free WordPress Theme

    [...] As mentioned above, this theme comes equipped with four widgetized areas. There are the two mentioned above exclusive to the home page template, as well as one each on the sidebar and the 404 template. [...]

  39. RS16 – Free WordPress Theme | Theme Lab

    [...] There are only two widgetized areas in this entire theme. One widgetized area is on the 404 template, in case you want to customize your 404 page from the WordPress admin. [...]

  40. wordpress dev » Blog Archive » RS16 – Free WordPress Theme

    [...] There are only two widgetized areas in this entire theme. One widgetized area is on the 404 template, in case you want to customize your 404 page from the WordPress admin. [...]

  41. David

    I always used to think how people put funny messages on 404 page.I wanted to do this from a long time but i don’t know any thing related to php.I really appreciate your help.You’ve made it quite easier.
    Thanks.

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.

Please use your real name or a pseudonym (e.g., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.