SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast sredhead's Avatar
    Join Date
    Aug 2003
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    404 error page problems

    I have a customised 404 page for my site which works fine and shows all jpgs/giffs if error occurs in main page. However, if a 404 error occurs in a subdirectory the 404 page shows but the jpgs/giffs are missing. Does this mean I have to put the icons in each directory, or is there another solution?
    Example:
    http://stevenredhead.com/car.html works fine
    http://stevenredhead.com/Ecology/fish.html - no jpgs/giffs.
    Any ideas how to resolve are most welcome.

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2002
    Location
    Singapore
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you are linking the images relatively. Either place a "/" in front of each image's url (ie /missing.gif) or place the entire url (ie stevenredhead.com/missing.gif). Obviously the former is easier
    I ran out of fax paper, could you fax me some?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •