Priceless Tips

Easy way to allow hotlinking on your filesSubscribe Subscribe

Hotlinking is not always mean bad thing for your website. Sometimes you may find it necessary to disable hotlink-protection for a specific directory. For example if you have a free image hosting service, it difficult to prevent image hot linking from your site, obviously because hotlinking is what people will do when they use your free image sharing service.

By default, htaccess rules apply to the directory in which it is located, as well as all subdirectories contained therein. By adding a simple code on the .htaccess in the directory you simply disable the hot linking prevention on that particular directory only.

# disable hotlink protection
RewriteEngine off

If you can’t find the .htaccess in the directory then create a file from cPanel filemanager, add those code and save

After opening hotlink prevention on my free image sharing service, the site become free image hosting that allowed hotlinking

Related posts:


  1. Affordable or very cheap web hosting tips
    There are companies that provide web hosting plans in an affordable price and they also give generous space and features. You can even find some company offering free web hosting...

  2. Make WordPress Blog Load Faster
    Recently I was stumbled into a post about making your Wordpress blog load faster. The principle of this process is simple which is reducing server request as much as possible...

  3. Fixing Pligg gzip technique error
    I am proud to announce the launch of the new social bookmarking sites ShowUs. ShowUs is a social bookmasking site, where you can share and votes any interesting information collected...

  4. Free Blogging Service with Social Networking Power
    Despite the fact that there are hundreds of free blogging service already exist in the Internet, dozen of new free blogging service emerged weekly. All of them must have unique...





Article Comments1 Comment

  • ShowUs.info News Votes

    Posted on May 8th, 2008 at 7:10 am

    Easy way to allow hotlinking on your files…

    By default, htaccess rules apply to the directory in which it is located, as well as all subdirectories contained therein. By adding a simple code on the .htaccess in the directory you simply disable the hot linking prevention on that particular direct…

Leave a Comment

Required
Required (Won't be published)
Optional
Avatar
Add your picture!
Join Gravatar and upload your avatar. It's free!