Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Author: UltratechHost - Replies: 0 - Views: 2981
Protect Your Bandwidth From Hotlinking Images
If you are hosting your own images, it is important to safeguard your bandwidth by preventing others from hotlinking your images. In this tutorial, we will guide you how to do that by writing certain codes in your .htaccess file.

Step 1 – Copy and paste the following code into your .htaccess file and place it in your public_html foler. Replace “mydomain.com” with your own.

[code]RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.co