Link Protection .htaccess not working, blocks self

wordpress

#1

Any help would be appreciated.

Basically I used dreamhost’s link protection to block hot linking to some images on my blog at thefinalepisodes.com/pics/anime/

Dreamhost’s tool generates a .htaccess file like so in that directory:

Generated by Dreamhost. DO NOT modify!!!

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^https?://(www.)?thefinalepisodes.com/?.$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?
.feedburner.com/.$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?bloglines.com/.
$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?feedburner.com/.$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?google.com/.
$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?images.google./.$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?msn.com/.$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www.)?yahoo.com/.
$ [NC]
RewriteRule .(gif|jpg|jpeg|png|mp3|mpg|avi|mov)$ - [F,NC]

################################################

which is pretty standard stuff. dreamhost panels notes that I don’t have to include my own domain, which is evidently included. problem is, when I head to my own blog at thefinalepisodes.com, the images are blocked when accessed from my own domain?

I don’t write on the blog much anymore, so it’s not a terribly big deal. but if I remove protection, the various myspace, forums, and other blogs hot linking will eat up bandwidth…

is this an issue with the wordpress rewrite rules messing with it?

there’s a wordpress generated .htaccess placed in the main directory:

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

any help or info would be appreciated. thanks!


#2

well nvm on the issue. I found a hot link prevention plugin for wordpress blogs. seems to work fine for current needs.