I am trying to improve the SEO of my web page, but in Semrush I get 404 errors as a series of pages that are indexed when the client adds the product to the cart:
I need to know how to make these URLs not index them.
I tried to put in the .htacces code to cancel the add to car but I have too much code and it gives me a 500 error.
Can you help me? Thank you very much