404 help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cde
    Registered User
    • Aug 2006
    • 1

    #1

    404 help

    New webmaster here, planning on starting a Image Hosting site, before I start trying anything with porn first. Thing is I need some help with 404's, and since the majority of people on here are seasoned webmasters, I thought I should ask.

    Is it possible to have more then 1 404 page due to different directories? Or to have a different 404 page depending on refer/no refer or how it was requested? Since I'm running an image host like tinypic, I will be removing images after a while or depending on the content (Like illegal or liable to get my site killed) I know a 404 will be important. Mainly the images will be uploaded to various 3 letter subdirectories on the main site.

    So for example if someone loads the image directly it should show a html/php 404 while if it was loaded via a img tag on another site it will show a image 404 on the site that it is linked on. Finally, the rest of my site outside of the image directories would have a separate 404.

    Well, if it was simple hotlinking to a set number of images, I could just replace the image to prevent it, but since the number of images will change daily its a bit more complicated then that.

    Any help would be appreciated. TIA.
  • amateurcanada
    Confirmed User
    • Jul 2001
    • 3766

    #2
    what im understanding is you wish to have different 404s based on directories. you can do all of this via the htaccess files with specific instructions

    be our partner - join nichepartners today
    will.assum.producer @ AmateurCanada.com / icq: 30146166 / facebook.com/will.assum / #amateurcanada

    Comment

    Working...