.htaccess Tutorial - Customized Error Message

If you want to customize the error message to a vistor for a page was not found on your server, you can do it by adding following page to the .htaccess file.

ErrorDocument 404 /index.php

this line will redirect visitors to the /index.php on your server.

Leave a Reply

You must be logged in to post a comment.