burnzie2413
Newbie
- Nov 14, 2010
- 38
- 8
Hey everyone. I'm trying to redirect my 404 errors to the root of my site. I have the following code in my .htaccess file:
My site is a basic, static html site. Normally with Wordpress I can just change the 404 page and it works easy but this is my first attempt with .htaccess.
Anyone have any ideas on how I can use htaccess to redirect my 404 errors?
Any help is appreciated.
Code:
ErrorDocument 404 /index.htm
ErrorDocument 500 /index.htm
My site is a basic, static html site. Normally with Wordpress I can just change the 404 page and it works easy but this is my first attempt with .htaccess.
Anyone have any ideas on how I can use htaccess to redirect my 404 errors?
Any help is appreciated.