
Originally Posted by
descalzo
.htaccess goes into public_html
To see dot files, you have to have them enabled in File Manager or your FTP program. If you don't enable them, they are there, you just won't see them.
What I do.
1. Create a folder error in public_html
2. Create your pretty 404 page, name it 404.html and put it in error
3. In the .htaccess file, add the line:
ErrorDocument 404 /error/404.html
4. Repeat for the other errors you might encounter (403 Forbidden, 500 Internal Server Error)
5. If you want to use PHP, you can (file name 404.php, etc). If you know what you are doing, you can then customize the error message.