<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Using .htaccess to redirect hotlinkers to another image</title>
	<atom:link href="http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/</link>
	<description>Tom Raftery, social media consultant, speaker, blogger and podcaster</description>
	<pubDate>Sun, 06 Jul 2008 13:59:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Michael O'Rourke</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-110350</link>
		<dc:creator>Michael O'Rourke</dc:creator>
		<pubDate>Wed, 05 Sep 2007 22:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-110350</guid>
		<description>In regard to your .htaccess article. My problem is, I've had too
much success. That's right, I've tried at least 30 different code snippets, yours being the latest. And they all block my own images, yours too. I've got the standard Apache Server setup. There must be a simple explanation. Any suggestions.


Thank you,

MO'R</description>
		<content:encoded><![CDATA[<p>In regard to your .htaccess article. My problem is, I&#8217;ve had too<br />
much success. That&#8217;s right, I&#8217;ve tried at least 30 different code snippets, yours being the latest. And they all block my own images, yours too. I&#8217;ve got the standard Apache Server setup. There must be a simple explanation. Any suggestions.</p>
<p>Thank you,</p>
<p>MO&#8217;R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stan</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-106640</link>
		<dc:creator>stan</dc:creator>
		<pubDate>Thu, 21 Jun 2007 18:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-106640</guid>
		<description>Sorry, I made it in notepad not word</description>
		<content:encoded><![CDATA[<p>Sorry, I made it in notepad not word</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stan</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-106639</link>
		<dc:creator>stan</dc:creator>
		<pubDate>Thu, 21 Jun 2007 18:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-106639</guid>
		<description>Hey there, thanks for the article.

I made an htaccess file following your directions but can't seem to make it redirect to my website's logo (which is always fun, free advertising).

I have both a gif and jpeg version of my logo at the address below and here is a copy of my htaccess (made in word, uploaded via ftp and then renamed simply ".htaccess").

If you see something wrong below could you let me know?  My pictures reside in the picture files below (the website name is fake):

Thanks!

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mywebsitename.com [NC]
RewriteRule \.(png&#124;gif&#124;jpe?g)$ /pic/misc/logo.$1 [NC,L]</description>
		<content:encoded><![CDATA[<p>Hey there, thanks for the article.</p>
<p>I made an htaccess file following your directions but can&#8217;t seem to make it redirect to my website&#8217;s logo (which is always fun, free advertising).</p>
<p>I have both a gif and jpeg version of my logo at the address below and here is a copy of my htaccess (made in word, uploaded via ftp and then renamed simply &#8220;.htaccess&#8221;).</p>
<p>If you see something wrong below could you let me know?  My pictures reside in the picture files below (the website name is fake):</p>
<p>Thanks!</p>
<p>RewriteEngine on<br />
RewriteCond %{HTTP_REFERER} !^$<br />
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mywebsitename.com [NC]<br />
RewriteRule \.(png|gif|jpe?g)$ /pic/misc/logo.$1 [NC,L]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Raftery</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-40784</link>
		<dc:creator>Tom Raftery</dc:creator>
		<pubDate>Fri, 13 Oct 2006 11:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-40784</guid>
		<description>Jess,

absolutely - just put the address in the last line of the code before the .$1</description>
		<content:encoded><![CDATA[<p>Jess,</p>
<p>absolutely - just put the address in the last line of the code before the .$1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jess</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-40534</link>
		<dc:creator>Jess</dc:creator>
		<pubDate>Fri, 13 Oct 2006 05:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-40534</guid>
		<description>Hi! This is awesome. And easy to understand! I appreciate it! Question though, is it possible that the directory where the images are stored can be changed?</description>
		<content:encoded><![CDATA[<p>Hi! This is awesome. And easy to understand! I appreciate it! Question though, is it possible that the directory where the images are stored can be changed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Raftery</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-22355</link>
		<dc:creator>Tom Raftery</dc:creator>
		<pubDate>Fri, 25 Aug 2006 18:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-22355</guid>
		<description>You got it Patrick - the Last Rule prevents that from happenning - great question though. Thanks for stopping by and commenting.</description>
		<content:encoded><![CDATA[<p>You got it Patrick - the Last Rule prevents that from happenning - great question though. Thanks for stopping by and commenting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Vanhoucke</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-22354</link>
		<dc:creator>Patrick Vanhoucke</dc:creator>
		<pubDate>Fri, 25 Aug 2006 18:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-22354</guid>
		<description>What will happen if the 'stolenimage' itself is used by a hotlinker? Isn't this creating an endless loop?

Shouldn't you use something like:

RewriteCond %{REQUEST_URI} !^/stolenimage.png [NC]

for every type of image as an additional condition? Or is the 'last rule' (L between square brackets) preventing the endless loop?</description>
		<content:encoded><![CDATA[<p>What will happen if the &#8217;stolenimage&#8217; itself is used by a hotlinker? Isn&#8217;t this creating an endless loop?</p>
<p>Shouldn&#8217;t you use something like:</p>
<p>RewriteCond %{REQUEST_URI} !^/stolenimage.png [NC]</p>
<p>for every type of image as an additional condition? Or is the &#8216;last rule&#8217; (L between square brackets) preventing the endless loop?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredy</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-20712</link>
		<dc:creator>Fredy</dc:creator>
		<pubDate>Wed, 09 Aug 2006 08:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-20712</guid>
		<description>finally, what I was looking for... thanks a million for such a clean code.</description>
		<content:encoded><![CDATA[<p>finally, what I was looking for&#8230; thanks a million for such a clean code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milan</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-10821</link>
		<dc:creator>Milan</dc:creator>
		<pubDate>Tue, 23 May 2006 18:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-10821</guid>
		<description>Is there any way a similar bit of coding could solve &lt;a href="http://www.sindark.com/2006/05/21/bug-reports-thread/#comments"&gt;this problem&lt;/a&gt;?

Thanks a lot for your help.</description>
		<content:encoded><![CDATA[<p>Is there any way a similar bit of coding could solve <a href="http://www.sindark.com/2006/05/21/bug-reports-thread/#comments">this problem</a>?</p>
<p>Thanks a lot for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Betts</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-3920</link>
		<dc:creator>Robert Betts</dc:creator>
		<pubDate>Sat, 21 Jan 2006 21:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-3920</guid>
		<description>Question?  If someone direct-links to an image on my site will google (and others) see this and count it as a link to my site and use it to raise my PageRank? If this is true I'd be shooting myself in the foot by discouraging direct-linking.</description>
		<content:encoded><![CDATA[<p>Question?  If someone direct-links to an image on my site will google (and others) see this and count it as a link to my site and use it to raise my PageRank? If this is true I&#8217;d be shooting myself in the foot by discouraging direct-linking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jukka</title>
		<link>http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft-part-ii/#comment-915</link>
		<dc:creator>jukka</dc:creator>
		<pubDate>Tue, 07 Jun 2005 20:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomrafteryit.net/views/?p=125#comment-915</guid>
		<description>thanks for the clear code!</description>
		<content:encoded><![CDATA[<p>thanks for the clear code!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
