Custom Error MessagesTo get custom error messages on your site, just create a file named ".htaccess" in any subdirectory from which you serve web pages. The error messages will apply to that directory and all directories underneath it, and can be overridden by additional .htaccess files in those subdirectories if necessary. Here is an example .htaccess file: ErrorDocument 403 /errors/restricted.html In this particular example:
Some pointers: |