# =============================================== # Comprehensive Robots.txt for WordPress & WooCommerce (Revisado) # =============================================== User-agent: * # Disallow sensitive directories and non-SEO dynamic files (HIGH PRIORITY) Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /wp-content/plugins/ Disallow: /wp-content/themes/ Disallow: /xmlrpc.php Disallow: /wp-json/ Disallow: /tag/ Disallow: /author/ # Disallow common WordPress files (security/performance) Disallow: /readme.html Disallow: /license.txt # Disallow low-value search/feed/comment paths (for SEO optimization) Disallow: /comments/feed/ Disallow: /trackback/ Disallow: /*?s=* Disallow: /search/ Disallow: /category/*/page/ # WooCommerce/eCommerce Specific Disallows Disallow: /cart/ Disallow: /checkout/ Disallow: /my-account/ # Allow access to essential technical files (CSS, JS, Images) Allow: /wp-admin/admin-ajax.php Allow: /wp-includes/css/ Allow: /wp-includes/js/ Allow: /wp-content/uploads/ Allow: /wp-content/themes/*.css Allow: /wp-content/themes/*.js Allow: /wp-content/plugins/*.css Allow: /wp-content/plugins/*.js # Sitemap Declaration Sitemap: https://felezyab-bartar.ir/sitemap_index.xml # =============================================== # Specific Bot Directives # =============================================== # Block Known Heavy Scanners and non-Essential SEO Bots (to conserve CPU) User-agent: AhrefsBot Disallow: / User-agent: SemrushBot Disallow: / User-agent: MJ12bot Disallow: / # Allow Major Search Engines full access to all essential resources User-agent: Googlebot Allow: / User-agent: Bingbot Allow: / User-agent: YandexBot Allow: /