How to customise 404 page in whmcs

To customize the 404 page in WHMCS (Web Host Manager Complete Solution), you'll need to modify the template files. Follow the steps below to customize the 404 error page:

1. Connect to your server using FTP or cPanel File Manager.
2. Navigate to the directory where your WHMCS installation is located. Typically, it is in the public_html or www directory.
3. Locate the "templates" directory and enter it.
4. Inside the "templates" directory, you'll find various template folders, depending on the active WHMCS theme. Identify the theme you're using and enter that folder.
5. Look for a file named "404.tpl" or "error.tpl." If you find both files, it's recommended to edit the "404.tpl" file first. If there is only one file, open it for editing.
6. Download a backup copy of the original file to your local computer, in case you need to revert to the default template.
7. Open the "404.tpl" (or "error.tpl") file using a text editor, such as Notepad++ or Sublime Text.

Now you can customize the 404 error page according to your preferences. Here are a few modifications you can make:

- Change the text: Look for the relevant HTML tags or text within the template file and modify them to display the desired message.
- Add custom content: You can add images, links, or any other HTML content to enhance the page's appearance. Ensure the content is placed within appropriate HTML tags.

Save the changes after you've made the desired modifications.

Once you've saved the modified template file, you can test it by generating a 404 error in your WHMCS installation. To do so, enter a non-existent URL or simulate a broken link. The customized 404 error page should now be displayed.

Remember to always keep a backup of the original template files before making any modifications, so you can easily revert to the default settings if needed.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Connect WHM to WHMCS

Log into WHMCS. admin Roll your mouse over Setup, then Products/Services, and click Servers....

How to Modify A Hosting Account Quota In WHM?

To modify a hosting account quota in WHM (Web Host Manager), you can follow these steps: 1. Log...