# Physical robots.txt, added 2026-07-25. # # This replaces the WordPress/Yoast virtual robots.txt, which emitted two # conflicting "User-agent: *" groups -- the second (the Yoast block) carrying an # empty "Disallow:", i.e. allow-all. Crawlers that honour only the last matching # group therefore ignored the add-to-cart rules above it. All previous # directives are preserved below, in a single group. # # NOTE: WordPress only generates its virtual robots.txt when no physical file # exists. Deleting this file restores the old behaviour; any robots change made # in the Yoast UI while it exists will NOT take effect. User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php Disallow: /wp-content/uploads/wc-logs/ Disallow: /wp-content/uploads/woocommerce_transient_files/ Disallow: /wp-content/uploads/woocommerce_uploads/ Disallow: /wp-content/uploads/*b2bking- # Faceted-search crawl space. Every combination of these parameters is a unique # URL backed by a full, uncached product query, and add-to-cart writes a # cart/session row on every hit. Left open, it is an unbounded crawl trap. Disallow: /*?add-to-cart= Disallow: /*&add-to-cart= Disallow: /*?s= Disallow: /*&s= Disallow: /*?post_type=product Disallow: /*&post_type=product Disallow: /*?min_price= Disallow: /*&min_price= Disallow: /*?max_price= Disallow: /*&max_price= Disallow: /*?per_page= Disallow: /*&per_page= Disallow: /*?per_row= Disallow: /*&per_row= Disallow: /*?shop_view= Disallow: /*&shop_view= Disallow: /*?orderby= Disallow: /*&orderby= # Meta's crawler. A crawler obeys ONLY its most specific matching group and # ignores "User-agent: *" entirely, so every rule above is repeated here -- # omitting them would hand meta-externalagent a blanket allow, which is the # exact bug this file was written to fix. User-agent: meta-externalagent Crawl-delay: 30 Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php Disallow: /wp-content/uploads/wc-logs/ Disallow: /wp-content/uploads/woocommerce_transient_files/ Disallow: /wp-content/uploads/woocommerce_uploads/ Disallow: /wp-content/uploads/*b2bking- Disallow: /*?add-to-cart= Disallow: /*&add-to-cart= Disallow: /*?s= Disallow: /*&s= Disallow: /*?post_type=product Disallow: /*&post_type=product Disallow: /*?min_price= Disallow: /*&min_price= Disallow: /*?max_price= Disallow: /*&max_price= Disallow: /*?per_page= Disallow: /*&per_page= Disallow: /*?per_row= Disallow: /*&per_row= Disallow: /*?shop_view= Disallow: /*&shop_view= Disallow: /*?orderby= Disallow: /*&orderby= Disallow: /cart/ Disallow: /checkout/ Disallow: /my-account/ Sitemap: https://petsone.pk/sitemap_index.xml