Thursday September 09 , 2010
Text Size
   

Prevent Hot Linking

Rate this item
(0 votes)

Just a quick tip to prevent hot linking to the items on your blog. Saves bandwidth and prevent others from embedding images on your site in their blogs.

Add the following code to the .htaccess file at the root of your site.

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

Last modified on Monday, 12 October 2009 21:48

Built For Business

We focus on what matters to a business owner, so you get a faster return on your investment.

Who Says Support Isn't A Feature?

Web design coupled with hosting includes free technical support for you and your staff.  We are commited to top personal support.