ErrorDocument 404 to an Ooops Page
Last Updated on Wednesday, 31 December 2008 13:45 Written by Georg Tuesday, 30 December 2008 18:59
When Joomla 1.5.x is having the core SEF enabled, it's gonna overwrite .htaccess instructions, like this one:
ErrorDocument 404 /404-oops.html
...where you're gently telling the Apache to redirect nonsense urls to a nice and comprehensively helpful page.
Now, here's the workaround inside Joomla code:
go [S]FTP to this location:
/templates/system/error.php
past line 19 enter this new line:
meta HTTP-EQUIV="REFRESH" content="0; url=/404-oops.html"
//in tags!
...where "404-oops.html" represents the menu-item url you previously created as an article layout in Joomla content manager.
Dare type some nonsense behind http://joomlapeople.com/blah-blah-blah and see our Oops page at JP.



