error)) { $this->error = JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); $this->debug = false; } // Get language and direction $doc = JFactory::getDocument(); $app = JFactory::getApplication(); $this->language = $doc->language; $this->direction = $doc->direction; $redirect_url = "/error"; header('HTTP/1.1 200 OK'); header('Location: http://'.$_SERVER['HTTP_HOST'].$redirect_url); exit(); ?>