Forum Moderators: open

Message Too Old, No Replies

Custom 404 Scripts

Need a little help

         

Krapulator

1:38 am on Mar 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi People,

I use a custom asp page for 404 page not found errors, which uses response.redirects to send the user to an appropriate page based on the name of the missing page. However I have just realised that this page is returning a 302 Error because of the response.redirects. Im wondering if its possible to send an error 404 in the headers (so that the dead pages drop out of search engine results) - but still use response.redirect to redirect the user to an appropriate page.

Dreamquick

11:21 am on Mar 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As far as I know it's not possible - you can either send a 404 to say its missing or you can send a 302/301 to say that they need to look somewhere else.

- Tony

Xoc

1:32 pm on Mar 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See this thread, [webmasterworld.com ] which describes exactly how to do that.

Krapulator

10:22 pm on Mar 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Xoc,

Many thanks, this is perfect!