|
You can create custom error pages for your web site using an .htaccess file in your web server root directory. Simply create a file named .htaccess (or edit the one that might already be in your root folder) and add the following line to it:
This will cause the page named "page_not_found.html" located in a folder named "errordocs" to be displayed if a visitor to your web site tries to access a page that does not exist. The three main types of error documents are:
For more information about this, please see the Apache server documentation
at
http://httpd.apache.org/docs/mod/core.html#errordocument. |