Knowledgebase
Webinova Online Customer Support > Webinova Help Desk > Knowledgebase

Search help:


How to create a universal error page for Joomla?

Solution

You can have a single error page for your website rather than individual error pages for each error (403, 404, 500, etc.).

When you create the desired universal error page with a text/HTML editor of your choice, you have to upload it into a subdirectory of your public_html called errors. Make sure to name the universal error page error.php.

 

Then you have to open your main .htaccess file and add the following lines in it:

 

# provide a universal error document

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^.*$ /errors/error.php [L]

 
Was this article helpful? yes / no
Article details
Article ID: 295
Category: General Joomla FAQ
Date added: 2012-12-11 15:34:18
Views: 18
Rating (Votes): Article rated 3.0/5.0 (6)

 
« Go back

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid