Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess hot linking

12:00 am on May 15, 2003 (gmt 0)

New User

10+ Year Member

joined:Aug 23, 2002
votes: 0

The way i have my htaccess file set up right now is to replace the picture that someone is trying to link to, with with my company logo.

This is working pretty nice.

I was wondering... would it be possible to use htaccess to put a link to my web site instead of swaping the image?

This way, I can get some free publicity, and SEs might even view this as a link to my site.


12:19 am on May 15, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
votes: 0

Just replace the image link with a link to the page you want to display instead.

This would cause a broken image if they try to include it on their Web page though...

10:18 pm on May 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 1, 2002
votes: 0

You cannot replace a reuest for an image with a page.... apples and oranges!