I was just looking through my referral stats, and found that I’ve been getting some hits from some random person’s MySpace page. I headed on over there to see what was what and found that she was using the crappy Natalie Portman mohawk pic as a tiled background on her site.
I think her site is much improved by the changes I just made, don’t you?
This time, rather than changing the image, I finally took the time to learn how to use .htaccess rewrite rules, so this only affects her site.
In case you’ve been wondering just what you need to put in your .htaccess file to make this happen, I’m posting it here:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} ^http://(profile\.myspace\.com/index\.cfm\?fuseaction=user\.viewprofile\&)friendID=7591720 [NC]
RewriteRule natalie-portman-mohawk\.jpg$ http://nyquil.org/uploads/dawlface.gif [NC]