Link to home
Create AccountLog in
Avatar of jhmplondon
jhmplondon

asked on

Show default image if requested one has not been found on server - htaccess level

Hi,

I have a image hosting website, I do obviously allow hotlinking, my problem is that sometimes I need to remove some images for copyright infringement, etc. and this image has been already embed on some other websites, forums, etc. In this case instead of request image X square currently shows up. I need some htaccess level solution to show some default image in case if the requested one does not exist anymore.

Thanks for help
ASKER CERTIFIED SOLUTION
Avatar of sjklein42
sjklein42
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer