.htacess 404 redirect to index.html code example
Example 1: htaccess 404 redirect
ErrorDocument 404 /404.html
Example 2: redirect 404 to index htaccess
ErrorDocument 404 /index.php
ErrorDocument 404 /404.html
ErrorDocument 404 /index.php