WooCommerce Cloak Affiliate Links
The WooCommerce Cloak Affiliate Links plugin allows you to mask all external links in your WooCommerce store.
For example, change this… merchant.com/index.php?aff_id=123&product_id=456
… into this: yoursite.com/go/123
Configure the status code for the redirect to either 301, 302 or 307.
The plugin also adds a “Disallow” to your robots.txt file to prevent bots from following those external links.