User-agent: * # Block crawling of logon pages Disallow: /wp-admin/ Disallow: /*wp-login.php* Disallow: /my-account/* Disallow: /cart/* Disallow: /checkout/* Disallow: /fr/panier/* Disallow: /fr/checkout/* # Block search pages Disallow: *s=* Disallow: */search/* # Block add to cart and wishlist links, some themes link directly to these and can cause high CPU usage Disallow: *add-to-cart* Disallow: *add_to_wishlist* # Block common query strings, you may want to block other filter strings if you theme has a sidebar filter Disallow: *currency=* Disallow: /*?orderby* # Block the WordPress feed URLs Disallow: */feed/* # We need this allow link because we blocked wp-admin earlier Allow: /wp-admin/admin-ajax.php # Change this to your sitemap link Sitemap: https://onlinerocklessons.com/sitemap_index.xml