Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

image indexing

Discussion in 'Search Engine Optimization' started by ovi, Nov 16, 2004.

  1. ovi

    ovi Guest

    I have a question.
    I try to stop people from hotlinking to my .gif and .jpg files using .htaccess
    Did any of you done something similar?
    I have understand that I have to use in .htaccess something similar:

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?your_domain.com/.*$ [NC]
    RewriteRule \.(gif|jpg)$ - [F]

    Is this correct?

    Thanks in advance.


Featured Resources (View All)

Share This Page