Custom 404 Error page
Setting custom 404 Error page in .htaccess file:
ErrorDocument 404 /404.htm
Commentary
Setting the custom 404 Error page to be 404.htm
ErrorDocument 404 /404.htm
Notes
- Apache Custom Error Responses: httpd.apache.org/docs/2.4/custom-error.html
Web servers
- Apache
More
- 404 Error page for missing files
- Change default index page
- Deny access to a specific page by IP
- Deny access to a specific page for an IP address range
- HTTP to HTTPS redirect in .htaccess
- HTTPS to HTTP redirect for a single page
- Redirect index.php to root in .htaccess
- Redirect subdomain to root domain