Specifically, Screaming Frog reports that internal URLs containing the ?add_to_wishlist=
parameter (e.g. https://www.mysite.lt/account/?et-wishlist-page&add_to_wishlist=12345) are being blocked by my robots.txt file, which includes the line:
Disallow: /*add_to_wishlist
These wishlist URLs are generated throughout the site and crawled by search engine bots, causing unnecessary crawl budget usage and resulting in SEO tool warnings.
Since these links do not contribute SEO value, I would like to keep them disallowed in robots.txt but prevent search engines from attempting to crawl them in the first place.
**Question:**
Could you please advise how I can add a rel="nofollow"
attribute to all “Add to Wishlist” links generated and header by the XStore theme Ideally, I would like to implement this in a child theme or via a filter hook.
Thank you in advance for your help and guidance!
Images:
https://prnt.sc/9N1oGamHXccw