|
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: 1. Switch on support for custom error documents through the Plesk interface.
Go to a specific domain's administration page, click Setup, and select the
Custom Error Documents checkbox.
3. Once done editing, you will have to wait until the web server is restarted. After that, the web server will start using your error documents. For more information about this, please see the Apache server documentation at http://httpd.apache.org/docs/mod/core.html#errordocument.
|