Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Could you please share the affected URLs so we can check as well?
Meanwhile, add-to-cart URLs should be set to noindex like my-account and checkout pages by default using Rank Math.
Looking forward to helping you.
Thank you.
Hello,
Those URLs are not in your sitemap and are not being submitted by our plugin. Those URLs are the URLs that your Add to Cart button generates to add the products to the cart. These URLs should be set as Nofollow to make sure that Google doesn’t crawl them. If you are using a plugin to add the buttons, you can check its settings to set them as Nofollow.
You can also navigate to WP Dashboard > Rank Math > General Settings > Edit Robots.txt and the rule given below to make sure that Google doesn’t crawl these URLs:
Disallow: *?add-to-cart=*
Hope this helps. Let us know if you need any other assistance.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.