How to Customize 403 Forbidden Error page? [Important| Revised 2019]
The 403 Forbidden error page is a web page that means accessing the page or resource you were trying to reach is absolutely forbidden. The default 403(Forbidden error) message is a plain text . You are more likely to keep people on your site by using a custom 403 page that links to your site’s content.
To create a custom error page for your domain, add the following line to an .htaccess file located in your domain’s web directory
ErrorDocument 403 /errors/403.html
Steps to create your own custom 403 Forbidden error page [Updated June 2019]
step::1 Login to your cPanel
step::2 Create a directory inside your public_html naming “errors”
step::3 Now open this directory and create a 403.html file.
step::4 Now customize this 403.html file as per your wish.
step::5 Open .htaccess file and edit the given .htaccess rule
So whenever any visitor visits your site and try to access a URL which he has not been allowed to then every time it will be redirected to your customized 403.html page rather than the default 403 Forbidden Error page. It’s really up to you to set anything there.
That’s how simple it is. If you however still are not able to get this done, contact us so we can work a way out.Hope this helps you!!!