I am using a FREE ISP, supporting only the basic types of web coding. Is it possible say the if someone types in a page that is not on my site ie. http://www.freesite.fsnet.co.uk/notthere.htm, for me to make say that instead on them getting the normal “error” page, they can instead view my own error page that I create?
I look forward to a reply,
Your server uses Apache so you can create an .htaccess file in your root directory with the following directive:
ErrorDocument 404 http://www.site.com/notthere.htm
what is Apache and .htaccess?
How would i set the file up?
Please explain in more detail...
Apache Server is the Web server software your Web host is running. If you ever want to find out what server a Web site is running, visit this site: http://netcraft.com/whats/?host=www....te.fsnet.co.uk
An .htaccess file describes a few basic options you want the Apache Server to recognize. It takes directives to tell it what to do. In this case the directive you're using is ErrorDocument.
Because there is already an excellent guide on .htaccess files, and I don't want to repeat what has been said better, I'll point you to this URL: http://echodev.com/tutorials/misc/htaccess/index.shtml
Hope this helps.
You need to check with your ISP to see if this can be done. Not all free ISP's allow the use of .htaccess files within your website and some have even disabled them (GeoCities comes to mind).