October 24, 2004

Stop Hotlinking with htaccess

Stop Hotlinking with htaccess

HOW DO I STOP HOTLINKING AND BANDWIDTH THEFT?
You can stop servers from hotlinking your site's files by editing the .htaccess file in your site's root directory. (Consult your webhost on accessing your .htaccess file.)


Example: Your site url is www.example.com. To stop hotlinking images from an outside domain and display an image called nohotlink.jpg instead, use this code in your .htaccess file:

More ...

0 Comments:

Post a Comment

<< Home