# =============================== # ✅ FINAL ROBOTS.TXT (YOAST + ADSENSE + SECURITY + CRAWL-OPTIMIZED) # =============================== User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php # 🔐 Block duplicate & internal search result pages Disallow: /?s= Disallow: /page/*/?s= Disallow: /search/ # 🛡️ Block REST API endpoints Disallow: /wp-json/ Disallow: /?rest_route= # 🔐 Block sensitive WordPress paths Disallow: /cgi-bin/ Disallow: /trackback/ Disallow: /comments/ Disallow: /xmlrpc.php Disallow: /wp-login.php Disallow: /wp-register.php Disallow: /readme.html Disallow: /license.txt Disallow: /.git # ✅ Allow important static files for rendering Allow: /wp-content/uploads/ Allow: /wp-content/themes/ Allow: /wp-content/plugins/ # 🎯 Allow resources for Googlebot & AdSense User-agent: Googlebot Allow: /*.css$ Allow: /*.js$ Allow: /*.jpg$ Allow: /*.jpeg$ Allow: /*.png$ Allow: /*.gif$ Allow: /*.webp$ Allow: /*.svg$ Allow: /*.woff$ Allow: /*.woff2$ Allow: /*.ttf$ Allow: /*.otf$ # 🚫 Block abusive crawlers completely User-agent: MJ12bot Disallow: / User-agent: DotBot Disallow: / # 🐌 Limit crawl rate for non-Google bots User-agent: Bingbot Crawl-delay: 10 User-agent: Yandex Crawl-delay: 10 User-agent: AhrefsBot Crawl-delay: 20 User-agent: SemrushBot Crawl-delay: 20 # ✅ Yoast Sitemap Sitemap: https://dolpages.com/sitemap_index.xml # =============================== # 🚀 END OF ROBOTS.TXT # ===============================