Custom error pages can be created from cPanel -> Advanced -> Error pages. Once you create them you should create .htaccess file in the public_html directory containing one of the lines below: For custom 404 error page: ErrorDocument 404 /404.shtml For custom 500 error page: ErrorDocument 500 /500.shtml Custom error pages are displayed when a user enters a wrong URL, an outdated URL or when the user is not authorized to access a specific directory of your web space. Error Pages consists of the following five types of errors: To customize the error page first choose the domain -> choose the error page number (400, 401, 403, 404, 500) or the error page name (Bad Request, Authorization required, etc). When the page loads the following tags can be put into your error page:
Choose the desired tags and press ‘Save’ button. Your Error Page is ready.
- 45 Users Found This Useful
Related Articles
Powered by WHMCompleteSolution