Dec 30
2008

ErrorDocument 404 to an Ooops Page

Posted by Georg in Untagged 

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.

Comments (0)Add Comment

Write comment

busy

Joomla Announcements

Joomla! - the dynamic portal engine and content management system
Copyright © 2012 Joomla Problem Solvers. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.
JoomlaPeople Rss Feed