The rel = "nofollow" attribute of a <a href> link tag instructs crawlers to not follow the designated link:
It can also be placed in the header of a page, at the tag meta name "robots", to apply it to all links on the page:
As a reminder, the SEO popularity obtained by your site is divided between its pages through its hypertext links. The use of a nofollow will unfortunately not allow to reassign the popularity, on the contrary, it will be totally lost!
Never use the nofollow tag on your site unless specified by the SEO team. To effectively hide a link from Google, use link encryption.
How to encode a link:
The idea is not to display the URLs in plain text in the source code of the page to prevent them from being identified and indexed by robots. The target URL is first encoded on the server side and then reconstituted on the client side using JavaScript code. Example of a robot vision:
If JavaScript is enabled (user view), a script decodes the ID of the <span> tag and rebuilds the link by replacing the <span> tag with <a>.
The Javascript file for decoding will obviously have to be blocked by robots.txt so that Google does not try to decode your links.