Hello, all error pages end up on external link, x10hosting, after the redirect users can't use the backspace (/back) feature anymore to return to the previous page, either.
May I use custom error pages? Apparently creating 404.shtml does nothing.
Hello, all error pages end up on external link, x10hosting, after the redirect users can't use the backspace (/back) feature anymore to return to the previous page, either.
May I use custom error pages? Apparently creating 404.shtml does nothing.
Way I do it.
1. Create subdirectory errors in public_html
2. Create my error pages, 404.html (or 404.php ), 500.html, etc and put them in public_html/errors
3. Open the .htaccess file in public_html
4. Add lines like
ErrorDocument 403 /errors/403.html
ErrorDocument 500 /errors/500.html
ErrorDocument 404 /errors/404.html
for each error document.
Note: The directory name 'errors' is a personal choice. Nothing magical about the name. Same with the file names. Just easier to keep track.
Nothing is always absolutely so.
Thanks a lot, that works perfectly.