404 redirect to homepage htaccess 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