...

View Full Version : .htaccess - disallowing images to be displayed



phantom007
10-20-2010, 08:41 PM
Hi

I have a folder "images" on my website.

I keep all the images for my website in the "images" folder.

So, what I want is, if someone tries to go to an image directly by typing

http://mywebsite.com/images/logo.gif

it should redirect the user to http://mywebsite.com

can this be done in .htaccess?

Thanks for any help.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum