Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Webspace, E-Mail & Browsing Issues (https://www.cableforum.uk/board/forumdisplay.php?f=80)
-   -   Hotlinking... (https://www.cableforum.uk/board/showthread.php?t=14730)

Flip 12-07-2004 15:39

Hotlinking...
 
Is there any tips to stop hot linking from a web page?

Cheers

:dunce:

SMHarman 12-07-2004 15:43

Re: Hotlinking...
 
To stop what? Bandwidth theft? Copyright theft?

poolking 12-07-2004 16:05

Re: Hotlinking...
 
I think you need to use a .htaccess file.

Bifta 12-07-2004 16:08

Re: Hotlinking...
 
Quote:

Originally Posted by Flip
Is there any tips to stop hot linking from a web page?

Cheers

:dunce:

As mentioned, you need to use .htaccess, with this in it:

Code:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.yourdomain.com [R,NC]


Flip 12-07-2004 16:12

Re: Hotlinking...
 
Thanks :D

Bifta 12-07-2004 16:15

Re: Hotlinking...
 
Quote:

Originally Posted by Flip
Thanks :D

Easiest way to create the .htaccess file is the do it in notepad, call it whatever you like, then rename it under a command prompt (or in your FTP client, works just as well) then just upload it to the folder (I think) with the images in.


All times are GMT +1. The time now is 14:59.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum