making a custom 404 page not found page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I make custom '404 page not found' and '400 bad request' pages?
I would be very thankful if somebody could help me..

Thanks,
Firqin
 
You make them like any other page.
You need however to check with your provider if you can have customized
error pages and if so what they should be named and where to place them.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
When using ASP.NET we do not need any 'permission' from a so-called
'service' provider to display custom error pages.
 
Take it easy. I belive the poster was addressing if you are not hosting
your own website, but are subscribing to a hosting service. Then, you may
have to check with the service as to what error messages his system sends
out.

-Frank
 
Re: making a custom 404 page not found pageIf you are on an Apache service and your host permits you to add or edit the .htaccess file, add this line there:

ErrorDocument 404 /error.htm

Then, create any html page you want to be named as "error.htm" or whatever other filename you prefer.

I think it's a good idea for your visitors to make sure you include (1) full navigation links and (2) a site search function on the error page. See http://www.psychlinks.ca/error.htm for an example and feel free to swipe what you want from that page.


You make them like any other page.
You need however to check with your provider if you can have customized error pages and if so what they should be named and where to place them.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
Back
Top