The new joomla handles errors differently, and there's been quite a bit of discussion about why this is, as well as whether the current solution works as well as it should. Mainly, this discussion stems from people being concerned about making their site uber-Search Engine Friendly.
Now, I have my own personal gripes with some people who spend too much time throwing the 'SEF' acronym around [ie. paying more attention to garnering machine-love than making their site relevant to readers], but out of the discussion comes an important mini-predicament; Joomla 1.5 uses an error.php file [stock URL: /administrator/templates/system/error.php] which resides outside of the CMS.
Error.php is the file which gets loaded when viewers cannot be presented the info they request (leading to 403 and 404 errors) - the default one is super ugly and sure to scare people away from your site at first glance; this is something to avoid and doing so is easy; you have to create a custom error.php and bung it into your front-end template's main directory.
I recommend reading the documentation on this approach and then looking @ the source code through your browser for a page on your site - then copying and pasting in whatever error message you want to replace the copy of that page you were looking at. Here on Why Joomla? you'll notice that I've thrown in the site's search form - so people can quickly keep looking for the info they wanted in the first place.
As we've just upgraded to 1.5 and done away with JoomSEF/OpenSEF; a quirky URL rewriter module, our out-of-box semantic URLs have changed throughout the site - so I'm sure some of you will come into contact with our homemade error.php soon :)
If you have other approaches to this problem, please comment!
| Comments |
|
|
||||||||
Blog Categories
Latest comments
Friends and collaborators
About the author
why joomla? is mainly contributed to by Qasim Virjee - the Principal @ Design Guru
Subscribe
Sign up to our email newsletter to stay in touch - we send it out monthly and never spam.







This site uses
I had used Agora for years. Everytim...
it is good that the extension's devel...
I like how you executed the upload vi...
thanks, it looks great and loads fast...
Blessing! Souvenir! Decoration! Gift!...