<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>archGFX &#187; hotlinking</title>
	<atom:link href="http://archgfx.net/tag/hotlinking/feed" rel="self" type="application/rss+xml" />
	<link>http://archgfx.net</link>
	<description>Austin web designer - Adam Freetly</description>
	<lastBuildDate>Wed, 28 Sep 2011 13:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>I ♥ Redirection</title>
		<link>http://archgfx.net/blog/2007/geek/i-%e2%99%a5-redirection</link>
		<comments>http://archgfx.net/blog/2007/geek/i-%e2%99%a5-redirection#comments</comments>
		<pubDate>Sun, 09 Sep 2007 20:12:10 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[hotlinking]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2007/geek/i-%e2%99%a5-redirection</guid>
		<description><![CDATA[No, not the aging project in my portfolio. The WordPress plugin for managing .htaccess rules without cringing in horror, or wondering whether they're actually working. my first stabs at hacking .htaccess were alright, but it was basically guess &#62; pray &#62; test &#62; fail &#62; repeat. redirection doesn't have any sort of RegEx constructor (it [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://archgfx.net/images/hotlink.jpg" title="hotlinking is bad, mkay?" alt="hotlinking is bad, mkay?" align="right" height="143" width="143" />No, not the <a href="http://archgfx.net/projects/redirection">aging project in my portfolio</a>.  The <a href="http://urbangiraffe.com/plugins/redirection/">WordPress plugin for managing .htaccess rules</a> without cringing in horror, or wondering whether they're actually working.  my first stabs at hacking .htaccess were alright, but it was basically guess &gt; pray &gt; test &gt; fail &gt; repeat.  redirection doesn't have any sort of RegEx constructor (it allows regex, but there's no "click here to redirect anything inside the 'blog' folder).  What it does have are logs.</p>
<p>I've been wondering why my site fares so well in google searches for slayer, but my <a href="http://archgfx.net/blog/2006/music/national-day-of-slayer-june-6-2006-666">post about slayer</a> gets zero traffic.  Apparently it's some danish idiot hotlinking the photo (see chart).  And a couple myspace idiots, not realizing that <em>I got <a href="http://collect.myspace.com/reloc.cfm?c=18&amp;fuseaction=viewImage&amp;imageID=325674&amp;friendID=36787829&amp;id=">the original</a> from myspace</em>, and hotlinking mine, rather than using the original properly.</p>
<p><span id="more-1197"></span><br />
<img src="http://archgfx.net/wp-content/uploads/2007/09/redirection.png" alt="redirection logs" /></p>
<p>So far, I'm realizing that the hotlink ban doesn't prevent the danish forum from from poluting my logs.  I'm also having difficulty determining if the block is actually working.  for everything else, though, the logs work amazingly.  Especially at catching my typos.  <img src='http://archgfx.net/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p>
<p>The .htaccess rules I'm using are:<br />
<code><br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR]<br />
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?ddforum\.com/ [NC]<br />
RewriteRule \.(gif|jpe?g)$ /images/hotlink.$1 [L]<br />
&lt;/IfModule&gt;</code></p>
<p>Which seems to only make the hotlinked image go away, not actually replace it with my south-park-plus-<a href="http://www.dezinerfolio.com/2007/05/06/ultimate-web-20-layer-styles/">web2.0-gradient</a> image.  boo.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2007/geek/i-%e2%99%a5-redirection/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

