How to redirect my own 404 not found Error Pages to custom page

0
128

When someone trying to open a not found page on a website cannot be found into its web server, It go to 404 error page. This page is response code from web server that is categorized.

You would identify it is a 404 error page when see the next error messages:

  • 404 Not Found
  • The requested URL was not found on this server.
  • HTTP 404 Not Found
  • 404 Error
  • The page cannot be found

=> Make a custom 404 error page into your website.

=> Make an .htaccess file and upload it into your root

=> Place this line inside the .htaccess file ErrorDocument 404 http://www.mydoain.com/404.php