Ya tienes el plugin anti hotlink miralo aqui Anti hotlinking para Wordpress | Codigo Geek
Del blog Miley Cyrus.es me estan copiando post exactos (incluyendo las imagenes, haciendo hotlink), ya fui a Google e hice el proceso que todos conocemos, pero quisiera arreglar el punto del hotlink para usarlo a mi favor, colocando una imagen que diga lo que pasa y la direccion de mi sitio, pero no logro hacer que funcione.
Esto es lo que coloco en el .htaccess, pero no me funciona
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://camprock2.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://camprock2.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.camprock2.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.camprock2.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com/reader/view/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.com/reader/m/view/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://[^/.]\.feedburner\.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://feeds.feedburner.com/camprock2$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.planetaki/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://[^/.]\.bloglines\.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://[^/.]\.imageshack.us.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://[^/.]\.yfrog.com.*$ [NC] RewriteRule \.(gif|jpg|jpeg|png|bmp)$ http://www.camprock2.org/wp-content/...-CampRock2.jpg [NC,R,L]
</ifmodule>
# INICIO bye bye spam
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*camprock2.org.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
# FIN bye bye spam
# INICIO FileETag MTime Size
<ifmodule mod_expires.c>
<filesmatch "\.(jpg|gif|png|css|js)$">
ExpiresActive on
ExpiresDefault "access plus 1 year"
</filesmatch>
</ifmodule>
# FIN FileETag MTime Size<!--formatted-->
# INICIO comprimir contenido estático
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
# INICIO comprimir contenido estático
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
# disable directory browsing
Options All -Indexes
Con esta web compruebo si funciona o no, porque a veces uno no lo ve por los cookies y esas cosas, y perfectamente veo las imagenes robadas, no sale la imagen que yo quiero.
Alguien me podría hechar una mano, y si saben de algún otro truco que hacerle al copion bienvenido sea![]()
Última edición por SoWhat; 04-Dec-2009 a las 16:34
que blog te copia ?
cual es tu blog ?
Que servicio de hospedaje tienes , si es hostgator desde el Cpanel puedes evitar el hotlink ,si quieres que nadie se robe tu contenido de manera" facil" hay un plugin llamada wp content si no tienes hostgator mete esto a tu htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !barrageek\.com [NC]
RewriteCond %{HTTP_REFERER} !images\.google\. [NC]
RewriteCond %{HTTP_REFERER} !bloglines\.com [NC]
RewriteRule .*\.(gif|jpg|jpeg|png|bmp)$ http://wwwtusitiomejor.com/hotlink.jpe [R,NC,L]
</IfModule>
Julio el plugin no lo uso porque no del todo bien, no protege al 100%, en cambio por el .htaccess si es seguro (cuandos e hace bien)
El que me copia es Mileycyrus.es y mi blog es CampRock2.org
Uso Dreamhost ...Segun tengo entendido, si yo subo la imagen a mi sitio, luego no se va a ver porque igualmente esta haciendo hotlink , es decir, yo estaria bloqueando la imagen poniendo dicho codigo en el .htaccess
Última edición por SoWhat; 10-Dec-2009 a las 02:35
Cual es la diferencia entre http://www.google.com/reader/m/view/.*$ [NC] e !images\.google\. [NC] ??
Hola! intentaste contactar al webmaster del otro blog?
La diferencia es que http://www.google.com/reader/m/view/.*$ [NC] es para las imágenes que se muestran en Google Reader (Lector RSS para usuarios de Google)
y !images\.google\. [NC] es para las imágenes que se muestran como resultados en las búsquedas de imágenes, ejemplo: illi pro - Imágenes de Google
Copiar contenido no es ilegal =s
Fácil, si nada te funciona, metele marca de agua a tus imágenes =P, muchos enlaces internos en tus post, etc.
Actualmente hay 1 usuarios leyendo este tema. (0 miembros y 1 invitados)