Home :: Blog :: Articles :: Web-Hosting :: How to Create A Custom Error Page with .htaccess

How to Create A Custom Error Page with .htaccess

How to Create A Custom Error Page with .htaccess
Category: Web-Hosting
Posted:
Views: 2163
Comments: 0 [Post]
Synopsis: How to Create A custom error page with .htaccess on a linux apache webserver hosting.

How to Create A custom error page with .htaccess on a linux apache webserver hosting.  

Using notepad you make .htaccess files. Just new Text document and save as .htaccess. Sometimes you have to upload htaccess.txt and the rename it via ftp or hosting cpanel to .htaccess. Custom error pages  catch those visitors who come to your website from a back link.

ErrorDocument 401 /error/401.php
ErrorDocument 403 /error/403.php
ErrorDocument 404 /error/404.php
ErrorDocument 500 /error/500.php


Comments on How to Create A Custom Error Page with .htaccess

Start the conversation by being the first to comment!

Share comments

Your Name: *
Comments: *
Please Note: HTML Markup will be automatically removed.
The ability to post urls has been disabled by the site administrator.
*
Type the characters you see in the picture:

*