How to create a custom 404 and 500 error page using htaccess in your website ? In Apache server you can manage your 404 error and 500 internal server error with a smart template. Here this tutorial will help you to create a custom 404 and 500 error page using htaccess file.
Yes its very simple, and easy to integrate a custom error pages using htaccess in your website . this method can be used for any sub domain accounts too. like www.walkswithme.net and m.walkswithme.net .
How this ? the custom 404 and 500 error page using htaccess is good right ? you can add your own html content. every custom 404 and 500 error page using htaccess must have the following details should have a proper message for the error status and must have a link back to your website.
Just take your .htaccess file and have the following code .Normally this file will be in your root if not found create one .htaccess no file extension.
ErrorDocument 404 /custom_404page.php ErrorDocument 500 /custom_500page.php
Yes you have done custom 404 and 500 page using htaccess. Now see the magic.