How to customize 404 error page ?

Discussion in 'HTML & Website Design' started by veolive, Apr 4, 2008.

  1. #1
    - How to customize the 404 error page?
    - How can I use the custmize 404 error page in my website?

    Please give me some idea... Thanx !
     
    veolive, Apr 4, 2008 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your hosting control panel should have an option to let you select and edit a custom 404.shtml or 404.php file available. You can also use a content publishing system that has a built-in 404 page such as WordPress.

    What hosting control panel are you running?
     
    Dan Schulz, Apr 4, 2008 IP
  3. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #3
    the file is normally ( apache ) named
    missing.html
    and located at root level of your domain - unless your host tells you a different name.

    you can edit that custom HTML 404 file like any other file.
    I have for example included in that file a search function for site search to enable surfers with a re-search function for missed pages.
    since I normally NEVER rename or remove files, most 404 occur as a result of MIS-typing URL or wrong copy/paste of URLs. I have published such possible errors in my custom 404

    basically you should keep in mind that someone getting a 404 wanted YOUR site but accessed it by using a invalid link or any other mistake. Hence it would be useful to give an option to search your site or link to a site map etc
     
    hans, Apr 4, 2008 IP