Introduction:
In today's article, I
will guide you, how to customize 403 OR 404 error page in cPanel. Basically,
there are two methods to customize your 403 OR 404 error page.
v First Method:
· Go to your cPanel account, and then
login.
· After that, find out the "Advanced" section, and then click on this "Error Pages" option.
· Now select that Domain which you want to Manage the Error
Pages of it, and then choose any error page from here.
· So if click on this 404 error page, then you can edit page, where you can put the code inside the box.
· You can also put any code on here which you want (HTML/CSS/JS).
· Once you're done, then scroll down to the bottom, and then click
on "Save" button.
· Now here you can see our error page was saved.
v Second Method:
· Find out the "Files" section, and then click on "File Manager" option.
· Now go inside to the "public_html", and then here you need to
create a new folder with the name of "Errors".
· Once you're done, then create a new file inside the "errors" folder with the name of 403 or 404.html.
· Once you're done, then Right-click on your created file, and
then here you can see "HTML Edit" option.
· Simply click on it, and then again click on "edit" button.
So now here you can easily customize your 403 OR 404 error page.
· Once you're done, then search this URL, then it will show the
same customization of 403 or 404 Error page.