# ============================================================ # BLOQUEAR BOTS MALICIOSOS Y SCRAPERS CONOCIDOS # ============================================================ User-agent: PetalBot User-agent: Barkrowler User-agent: CUBOT User-agent: YisouSpider User-agent: Sogou web spider User-agent: 360Spider User-agent: Baiduspider User-agent: Exabot User-agent: GrapeshotCrawler User-agent: Seekport User-agent: spbot User-agent: Dalvik User-agent: Python-urllib User-agent: curl User-agent: wget User-agent: HTTrack User-agent: Nmap User-agent: Nikto Disallow: / # ============================================================ # BLOQUEO DE CARPETAS SENSIBLES DE WORDPRESS # ============================================================ User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /wp-content/plugins/ Disallow: /wp-content/cache/ Disallow: /wp-content/upgrade/ Disallow: /xmlrpc.php Disallow: /readme.html Disallow: /license.txt Disallow: /wp-login.php # ============================================================ # PERMITIR BOTS LEGÍTIMOS PARA SEO, REDES SOCIALES Y AUDITORÍAS # ============================================================ User-agent: Googlebot User-agent: Googlebot-Image User-agent: Googlebot-Video User-agent: GoogleOther User-agent: Google-InspectionTool User-agent: Bingbot User-agent: Slurp User-agent: DuckDuckBot User-agent: YandexBot User-agent: GPTBot User-agent: Applebot User-agent: Facebookexternalhit User-agent: Facebot User-agent: LinkedInBot User-agent: Twitterbot User-agent: WhatsApp User-agent: TelegramBot User-agent: Pinterest User-agent: Discordbot User-agent: MetaInspector User-agent: Slackbot Allow: / # ============================================================ # INDEXACIÓN DE IMÁGENES Y MULTIMEDIA # ============================================================ User-agent: Googlebot-Image Allow: /wp-content/uploads/ Allow: /images/ Allow: /*.jpg$ Allow: /*.jpeg$ Allow: /*.png$ Allow: /*.webp$ Allow: /*.avif$ User-agent: Googlebot-Video Allow: /wp-content/uploads/videos/ Allow: /*.mp4$ Allow: /*.webm$ Allow: /*.ogg$ # ============================================================ # PERMITIR TODOS LOS DEMÁS BOTS LEGÍTIMOS # ============================================================ User-agent: * Allow: / # ============================================================ # FIN - robots.txt avanzado # ============================================================