3 ms·
How do I use robots.txt to tell google to not add item to the shopping cart?
by YetAnotherNick 6y ago
How do I use robots.txt to tell google to not add item to the shopping cart?
- yongjik 6y agoErm... hide the shopping cart page behind robots.txt?
- kabacha 6y agoAs someone who has seen way too many robots.txt files that's exactly how you do it.
- rubyron 6y agoWell, theoretically, your Add To Cart button could have an href with a path that’s banned in robots.txt, but overridden with JS. But most online stores should be happy to have Google crawling their prices and showing up under the Shopping results.