How to delete custom error pages in cPanel

October 3, 2023 / cPanel

This guide explains how to delete custom error pages in cPanel. When you generate a custom error page in cPanel, it automatically generates a file named error_number.shtml in the primary document directory of the associated domain. You have the option to remove this file using the cPanel File Manager.

Follow the steps-

  1. Log in to cPanel.
  2. Select the “Files” section and click on the “File Manager” sub-option.
  3. Find the document root directory (public_html) of the domain where you have established the customised error page.
  4. Remove the corresponding file associated with the error number. For instance, if you have set up a custom error page for the 404 Not Found error, delete the file named 404.shtml.

This way, you can delete custom error pages in cPanel. Hope you liked our article. For more such informative articles, visit our KB section.


Spread the love