sitemap error

#392860
  • Resolved Assaf Daniel
    Rank Math free

    hi there
    as i can see in google search console i got many pages pointing to 5xx error. after i already talked with my server customer support and google support, they say that the problem is related to my sitemap. all the pages that are marked as 5xx server error has the /add-to-cart in its link adresss. if you already know this problem and how to fix it, that can be very helpfull. thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘sitemap error’ is closed to new replies.