faqts : Computers : Programming : Languages : JavaScript : Browser Settings

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 17 people (24%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I send the user to an other page if the error 404 is found?

Jan 27th, 2003 07:15
Klaus Bolwin, Simon Horlick, Erik Heidstra,


you can put a page named "404.html" and it will come up when you type a 
wrong address
However in the .htaccess file must be an directive like this:
ErrorDocument 404 404.html