# START YOAST BLOCK # --------------------------- User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /wp-content/uploads/wc-logs/ Disallow: /wp-content/uploads/woocommerce_transient_files/ Disallow: /wp-content/uploads/woocommerce_uploads/ Disallow: /wp-content/plugins/ Disallow: /wp-content/themes/ Disallow: /readme.html Disallow: */comment-page-* Disallow: /search?q=* Disallow: /?s=* Disallow: /?swoof=* Disallow: *?replytocom Disallow: */attachment/* Disallow: /tag/ Disallow: /?page_id=* Disallow: /tai-khoan/* Disallow: /gio-hang/ Disallow: /thanh-toan/ Disallow: /cgi-bin/ Disallow: /*?add-to-cart= Disallow: /blocks/ Allow: /wp-admin/admin-ajax.php Allow: /wp-content/uploads/ Sitemap: https://flexmohinh.com/sitemap_index.xml User-agent: Googlebot Disallow: /feed/ User-agent: Googlebot-News Allow: /feed/ User-agent: Bingbot Crawl-delay: 10 # --------------------------- # END YOAST BLOCK # CUSTOM RULES FOR FLEX MO HINH # --------------------------- # Additional WordPress protection User-agent: * Disallow: /wp-*.php Disallow: /*.php$ Disallow: /wp-content/cache/ # Block RSS feeds to prevent duplicate content Disallow: */feed/ Disallow: /*/feed/ # Block filter pages to prevent duplicate content Disallow: /trang-thai/ Disallow: /mau-sac/ Disallow: /dung-luong/ Disallow: /the-san-pham/ # Block all URL parameters except necessary ones Disallow: /*?* # Explicitly allow important sections Allow: /san-pham/ Allow: /mo-hinh/ Allow: /category/tin-tuc/$ Allow: /tin-tuc-mo-hinh/ # Block bad bots to save bandwidth User-agent: MJ12bot Disallow: / User-agent: AhrefsBot Disallow: / User-agent: SemrushBot Disallow: / User-agent: DotBot Disallow: / User-agent: Majestic-12 Disallow: / # Allow social media bots for better sharing User-agent: facebookexternalhit Allow: / Crawl-delay: 0 User-agent: Twitterbot Allow: / Crawl-delay: 0 User-agent: LinkedInBot Allow: / Crawl-delay: 0 User-agent: WhatsApp Allow: / Crawl-delay: 0 User-agent: Slackbot Allow: / Crawl-delay: 0 # Googlebot specific optimizations User-agent: Googlebot Allow: /san-pham/ Allow: /mo-hinh/ Allow: /tin-tuc-mo-hinh/ Crawl-delay: 0 # Googlebot Image User-agent: Googlebot-Image Allow: /wp-content/uploads/ Crawl-delay: 0 # --------------------------- # END CUSTOM RULES