Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/04/2009, 02:29
Avatar de ferny
ferny
Il capo della mafia
 
Fecha de Ingreso: febrero-2002
Ubicación: Al final del cable
Mensajes: 10.080
Antigüedad: 22 años, 2 meses
Puntos: 55
Respuesta: Evitando Hotlinking

Tienes que dar la ruta completa de la imagen nohotlink.jpg, por ejemplo: http://www.dominio.com/wp-content/nohotlink.jpg

Claro que también tienes que añadir un RewriteCond después de los 2 que ya tienes para evitar que esa misma imagen también se vea afectada por las reglas de hotlink:

RewriteCond %{REQUEST_URI} !^/wp-content/nohotlink.jpg [NC]

Código:
RewriteEngine On

RewriteCond %{HTTP_REFERER} !^http://(.+\.)?dominio\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{REQUEST_URI}  !^/wp-content/nohotlink.jpg [NC]
#Replace /images/nohotlink.jpg with your "don't hotlink" image url
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://www.dominio.com/wp-content/nohotlink.jpg [L]
__________________
www.mundodivx.com || www.mundodivx.org

Pon tu mano en un horno caliente durante un minuto y te parecerá una hora.
Siéntate junto a una chica preciosa durante una hora y te parecerá un minuto.
Eso es la relatividad.