m |
m |
||
Line 1: | Line 1: | ||
<seo title="How to create an error page" metakeywords="error page,404 error,404 not found,create error page" metadescription="How to create an error page" /> | <seo title="How to create an error page" metakeywords="error page,404 error,404 not found,create error page" metadescription="How to create an error page" /> | ||
− | <div align=justify>Your cPanel allows you to create custom error pages for your site. For example, you can set some cool page for '''''404 Not found''''' error instead of the standard ' | + | <div align=justify>Your cPanel allows you to create custom error pages for your site. For example, you can set some cool page for '''''404 Not found''''' error instead of the standard ''Page not found'' one. |
To create your custom 404 error page in cPanel, look for the '''Error pages''' icon under the '''[[Advanced]]''' tab. | To create your custom 404 error page in cPanel, look for the '''Error pages''' icon under the '''[[Advanced]]''' tab. | ||
− | * Select the domain you wish to create custom error pages for and click Go. | + | * Select the domain you wish to create custom error pages for and click '''Go'''. |
* You'll be presented with the list of 5 errors you can create your own page for. Simply choose the one from the list by clicking on its name. | * You'll be presented with the list of 5 errors you can create your own page for. Simply choose the one from the list by clicking on its name. | ||
Line 10: | Line 10: | ||
* Then you'll need to enter the message (or HTML code) for the error page needed. | * Then you'll need to enter the message (or HTML code) for the error page needed. | ||
− | * Once everything is set, click 'Save' at the bottom of the page. | + | * Once everything is set, click '''Save''' at the bottom of the page. |
Now your ''404 Not Found'' page is created. You can test your custom error page created by typing an invalid URL for your domain. If you are pleased with the result, then you can start creating a different error page (e.g. '''''403 Forbidden''''' error)</div> | Now your ''404 Not Found'' page is created. You can test your custom error page created by typing an invalid URL for your domain. If you are pleased with the result, then you can start creating a different error page (e.g. '''''403 Forbidden''''' error)</div> |