create a 404 not found page


Recommended Posts

Can I create a 404 not found page for Firefox, using html? I want to make a nice looking error page that can display some useful links, and I want it to look good, too. I can make the page, but I don't know how to make Firefox recognize it.

Link to comment
Share on other sites

Error Documents are served by the Webserver, not the browser (except for those annoying types when Internet Explorer decides to show its own, but that can be turned off).

You'd need to create a .htaccess file in your web root directory containing something like:

ErrorDocument 404 /path/to/404/page.htm

So there ya are. :)

Link to comment
Share on other sites

Actually, a program called FireTune, which I'm using, creates a page like that. But it uses xml, and I want to use HTML. Plus, I don't know where it keeps the page.

Link to comment
Share on other sites

on Deer Park Alpha 2, they've done away with the popup and you get a 404 type page now.

edit: heh, when i clicked the thumbnail, i thought i got an error.

586380173[/snapback]

the page is completly different then that now. nice css scripted page, favicon is still being worked on.

post-411-1124143138_thumb.jpg

Edited by supernova_00
Link to comment
Share on other sites

Is that in a nightly build of Deer Park? I haven't figured out how to get them yet, I'm still stuck with the crappy one.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.