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:
- Affordable or very cheap web hosting tips
- Make WordPress Blog Load Faster
- Fixing Pligg gzip technique error
- Free Blogging Service with Social Networking Power
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...
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...
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...
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...
Subscribe
ShowUs.info News Votes
Posted on May 8th, 2008 at 7:10 amEasy 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…