Home Blog Joomla custom 404 page

An article, The perfect 404 from A List Apart mentioned that a few must-haves for a 404 page includes:

  • A link to the site map (if you have one) and the home page.
  • A search box.
  • A distinctly minimalist look.

The default 404 page that Joomla provides is quite extensive but still we can add a few usable informations such as: search box (or a search link), sitemap (or a list of top links that we'd like users to browse).

We did that by overriding Joomla template's error.php file. And since template functions don't work within this file, we need to somehow hardcode them into this file. This is ours 404 page.

Comments (11)Add Comment
0
...
written by Mer, September 25, 2008
Looking great!! smilies/smiley.gif
0
...
written by Martin, November 19, 2008
thanks mate - very useful
0
...
written by fuqaha, November 24, 2008
wuttttt !!!! This is extremely helpful. thanks alot!!
0
...
written by Eddy, November 24, 2008
@Martin, @Fuqaha:
Glad it helps. smilies/smiley.gif
0
...
written by pukoli, May 15, 2009
You ask “What do they taste like?”….remember http://rapid4me.com/?q=Just+Dont+Remember what you mommy used to tell you, “just try it, they taste like chicken!”
0
...
written by John Crumpton, June 15, 2009
The search box doesn't show on your 404, it says Component not found
0
...
written by Eddy, June 16, 2009
Yes, it isn't shown on 404 page but instead I link it to the search page at http://joomlavue.com/search smilies/smiley.gif
0
...
written by Shadow, December 21, 2009
This is so clear, even students
http://shadowlandz.com
0
...
written by Best Registry Cleaners, January 18, 2010
Nice post - I also like using these and wish you the best of luck in trying to fix them all.
0
...
written by registry cleaner reviews, February 05, 2010
thanks mate - very useful
0
...
written by Frank Cohen, March 06, 2010
We just moved from Plone to Joomla for http://www.pushtotest.com. Plone has a nice feature in its standard 404 page. It does a site search for the page you are looking. For example, take a look at http://plone.org/frank.html. Is there doc on how to do this in Joomla 1.5?

Write comment

busy
 

Latest Comment