Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/08/2015, 13:27
Avatar de Juanitapregunta
Juanitapregunta
 
Fecha de Ingreso: enero-2015
Mensajes: 24
Antigüedad: 9 años, 4 meses
Puntos: 0
Respuesta: Donde insertar RewriteCond %{HTTP_USER_AGENT} en .htacces para que funcion

[NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Yandex" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Zeus" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^zmeu" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "360Spider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "AhrefsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "CazoodleBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "discobot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "EasouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ecxi" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "GT\:\:WWW" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "heritrix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTP\:\:Lite" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTrack" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ia_archiver" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "id\-search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IDBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Indy Library" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IRLbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ISC Systems iRc Search

2\.1" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksCrawler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksManager\.com_bot"

[NC,OR]
RewriteCond %{HTTP_USER_AGENT} "linkwalker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "lwp\-trivial" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MFC_Tear_Sample" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Microsoft URL Control"

[NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Missigua Locator" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MJ12bot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "panscient\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PECL\:\:HTTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PHPCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PleaseCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SBIder" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SearchmetricsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SeznamBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Snoopy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Sogou" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Steeler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "URI\:\:Fetch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "urllib" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Web Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "webalta" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WebCollage" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Wells Search II" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WEP Search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "XoviBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "YisouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "zermelo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ZyBorg" [NC,OR]
# End Abuse Agent Blocking
# Start Abuse HTTP Referrer Blocking
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?

semalt\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?

kambasoft\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?

savetubevideo\.com" [NC]
# End Abuse HTTP Referrer Blocking
RewriteRule ^.* - [F,L]
# End HackRepair.com Blacklist,

http://pastebin.com/u/hackrepair

# Enable the hide backend feature - Security > Settings >

Hide Login Area > Hide Backend
RewriteRule ^(/)?error_404/?$ /wp-login.php [QSA,L]

# Disable XML-RPC - Security > Settings > WordPress

Tweaks > XML-RPC
<files xmlrpc.php>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
</files>

# Disable Directory Browsing - Security > Settings >

System Tweaks > Directory Browsing
Options -Indexes

<IfModule mod_rewrite.c>
RewriteEngine On

# Filter Request Methods - Security > Settings >

System Tweaks > Request Methods
RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|

TRACK) [NC]
RewriteRule ^.* - [F]

# Reduce Comment Spam - Security > Settings >

System Tweaks > Comment Spam
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} /wp-comments-post

\.php$
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_REFERER} !^https?://(([^/]+

\.)?website\.com|jetpack\.wordpress\.com/jetpack-comment)

(/|$) [NC]
RewriteRule ^.* - [F]
</IfModule>
# END iThemes Security - Do not modify or remove this line

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]RewriteCond %{HTTP_COOKIE} !hzAx=1
RewriteCond %{QUERY_STRING} !p_hide_my_wp=1234
RewriteRule ^((wp-content|wp-includes|wp-admin)/(.*))

/nothing_404_404?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/ba4509a4/(.*) /wp-

content/plugins/backwpup/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/c18ea977/(.*) /wp-content/plugins/wpclef/

$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/ff957fea/(.*) /wp-content/plugins/contact-

form-7/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/ea393fd1/(.*) /wp-content/plugins/dt-

dummy/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/78bba2b2/(.*) /wp-

content/plugins/facebook-pagelike-widget/$1?p_hide_my_wp=1234

[QSA,L]
RewriteRule ^cake_php/a27812b3/(.*) /wp-content/plugins/global-

admin-bar-hide-or-remove/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/963714bd/(.*) /wp-content/plugins/global-

admin-bar-hide-or-remove/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/9aec9fb4/(.*) /wp-

content/plugins/go_pricing/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/33ae1168/(.*) /wp-

content/plugins/instagram-slider-widget/$1?p_hide_my_wp=1234

[QSA,L]
RewriteRule ^cake_php/12fbdb43/(.*) /wp-content/plugins/better-

wp-security/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/007d0872/(.*) /wp-

content/plugins/LayerSlider/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/514a47aa/(.*) /wp-content/plugins/limit-

login-attempts/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/25f63c06/(.*) /wp-content/plugins/loco-

translate/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/8d880627/(.*) /wp-content/plugins/simple-

mobile-url-redirect/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/2ee5e201/(.*) /wp-content/plugins/my-live-

chat-for-wp/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/0457d083/(.*) /wp-content/plugins/popup-

maker/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/64b77882/(.*) /wp-content/plugins/recent-

tweets-widget/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/f2798b9d/(.*) /wp-

content/plugins/restricted-site-access/$1?p_hide_my_wp=1234

[QSA,L]
RewriteRule ^cake_php/95e68aeb/(.*) /wp-

content/plugins/revslider/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/bfe0e81b/(.*) /wp-
content/plugins/Ultimate_VC_Addons/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/567ec66e/(.*) /wp-

content/plugins/wordpress-social-login/$1?p_hide_my_wp=1234

[QSA,L]
RewriteRule ^cake_php/fde4393c/(.*) /wp-content/plugins/wp-

optimize/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/b2ecce28/(.*) /wp-

content/plugins/js_composer/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/12614e6b/(.*) /wp-

content/plugins/wpdiscuz/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/f01191ae/(.*) /wp-

content/plugins/wordpress-seo/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/174c1647/(.*) /wp-

content/plugins/zencache/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^protoype_js/(.*) /wp-includes/$1?p_hide_my_wp=1234

[QSA,L]
RewriteRule ^storage/(.*) /wp-content/uploads/$1?

p_hide_my_wp=1234 [QSA,L]
RewriteRule ^cake_php/(.*) /wp-content/plugins/$1?

p_hide_my_wp=1234 [QSA,L]
RewriteRule ^codeIgniter/main\.css //index.php?style_wrapper=1

[QSA,L]
RewriteRule ^codeIgniter/style.css /nothing_404_404?

p_hide_my_wp=1234 [QSA,L]
RewriteRule ^codeIgniter/(.*) /wp-content/themes/dt-the7/$1?

p_hide_my_wp=1234 [QSA,L]
RewriteRule ^ajax /wp-admin/admin-ajax.php?p_hide_my_wp=1234

[QSA,L]
RewriteRule ^inc/(.*) /wp-content/$1?p_hide_my_wp=1234 [QSA,L]
RewriteRule ^submit_comment\.php /wp-comments-post.php?

p_hide_my_wp=1234 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


# END WordPress


Muchas gracias