# robots.txt — shoph2o.ro # Updated: 2026-04-12 — SEO Recovery Plan Strat 1 # Purpose: Stop Google from wasting crawl budget on Prestashop legacy URLs # (page=, per_page=, resultsPerPage=, productListView=, order=product.*) # and infinite slash-accumulation pagination traps. # Root cause: 625K+ problematic URLs flagged by GSC, 22K newly blocked. User-agent: * # WordPress core Disallow: /wp-admin/ Disallow: /wp-login.php Allow: /wp-admin/admin-ajax.php # E-commerce private areas Disallow: /cart/ Disallow: /checkout/ Disallow: /checkout-2/ Disallow: /contul-meu/ Disallow: /my-account/ # Block ALL query strings. Prestashop legacy params (page, per_page, # resultsPerPage, productListView, order=product.*), WooCommerce filter # combinatorics (orderby, filter_*, add-to-cart), and internal search # are all non-indexable. Everything worth indexing is reachable via # clean URLs (/categorie-produs/{slug}/, /produs/{slug}/, /page/N/). Disallow: /*? # Block slash-accumulation traps. WordPress canonical_redirect preserves # query strings during ?paged=N → /page/N/ rewriting, which causes # recursive growth (/page/60/?page=3%2F%2F%2F%2F&per_page=12%2F%2F). # Legitimate URLs never contain //. Disallow: /*// # Crawl-delay for aggressive bots (not Googlebot/Bingbot — they ignore) User-agent: AhrefsBot Crawl-delay: 10 User-agent: SemrushBot Crawl-delay: 10 User-agent: MJ12bot Crawl-delay: 10 User-agent: DotBot Crawl-delay: 10 Sitemap: https://www.shoph2o.ro/sitemap_index.xml