See the preview image above? That.
A post about cloaking the content of the status bar element that displays in the bottom left hand corner of a browser when a user hovers over an affiliate link. Not recommended.
Use site searches on blocked subfolders to surface affiliate offers. Use robots.txt noindex to remove these from the index for your own site, without opening the folders to crawl.
You can host a fully functional website in robots.txt
You can use robots.txt to remove pages from the index, including those blocked from crawl using robots.txt. This has advantages over the on page meta robots noindex method.
This post is a write-up of the talk on server log analysis I gave at BrightonSEO in April 2016.