Skip to content

Instantly share code, notes, and snippets.

@bhwebworks
Created January 28, 2012 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhwebworks/1696076 to your computer and use it in GitHub Desktop.
Save bhwebworks/1696076 to your computer and use it in GitHub Desktop.
Modified code in error.php
defined( '_JEXEC' ) or die( 'Restricted access' );
if (($this->error->code) == '404') {
header('Location: http://blackhillswebworks.com/404');
exit;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment