geeky

direct linkers

arrgg to them. why would someone want to direct link like this?

i finally took my sweet little time and wrote .htaccess protection for all my images. and if you only wish to allow yourself and several other domains to be able to direct link to your images. do something like this in your .htaccess:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://gallery.pure-essence.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^ http://regretless.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.pure-essence.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.regretless.org/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://regretless.org/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.regretless.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://regretless.com/.*$      [NC]
RewriteRule .*.(jpg|jpeg|gif|png|bmp|JPG|JPEG|GIF|PNG|BMP)$  http://regretless.com/stolen.gif [R,NC]

I want to allow this site, regretless.com and regretless.org to link images from my site. that’s what i do. If you want your replacement image to show up, make sure you have it somewhere that doesn’t have .htaccess. i only put .htaccess into folders where i have lots of images. i would do it to my whole domain but i also want my buttons to be direct linked by others since i joined button exchanges. i just moved all the buttons to a folder named “buttons” and have no .htaccess in that folder. that will work out nicely. and look! more amusement .. scroll down – between 31 and 32, it’s huge. another one – in the third iframe where the bears are, scroll.

this page gives you some great tips on how to protect your images 🙂

OH YEA, my pictures is up

13 thoughts on “direct linkers

  1. That htaccess script looks good 🙂 I wish i knew so much about programming ^_^. Hope Andy is feeling better! It’s weird to know that not all people all insured in America. In the Netherlands everybody has got health insurance. Take care, Natasja

  2. Is the .htaccess working ok? I can’t see your images instead i see that “i’m a thief one..” I hope you fix it soon ^^
    I hope your bf gets better.

    1. i will try not link images from pure essence on lj. i can’t make it so lj can direct link from pure essence otherwise everyone who uses lj can direct link from pure essence. that’s too much.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s