We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials

More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsCMS TutorialsJoomlaJoomla Administration

How to create a custom error page in Joomla

Cloud Servers 727 x 90

Making a custom error page for a Joomla website can add an extra touch for your website. Besides, it’s way more helpful to your users. If a user ends up on a default error page, chances are that he will exit your website. But if you have customized your error pages which explain why there was an error, there are more chances that the user will continue. Therefore, let’s create a custom error page.

Follow these steps to create a custom Error page in Joomla:

The error page in Joomla is in /templates/system/error.php. Copy the file to the root directory of your pattern. Now you can modify this folder, thus in case you recognize PHP you may create altering it. The difficulty is that it  will not be very simple to comprise modules such as your menu, your module or additional modules.

Create a new article for the error page. Creating the error page can be as simple as copying the default error page script, copying it and making slight alterations.

In the Article Manager, find your latest article in the register. In the column, you will find the ID of your article. You need this to connect it your article.

Now you must connect the article to the error page that you have created. After that, you will have your custom error page created.

Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Cloud Servers 1 230×230

Other (197)

Popular Keywords

Web Banner 3 230×230