Do you want to hide all external resources on your blog from search engines? A good option would be to close WordPress links from indexing. Let’s figure out how to do it right.
Does it need to be closed?
YES! A large number of links to external resources are regarded by search engines as link spamming. For example, you write product review articles and insert affiliate links. If there are a lot of them, then you risk falling under the filter. And this is a decrease in the visibility of the site in the search or even an exception from it. In addition, such a page may lose link juice.
How to remove external links
There are 2 working methods:
1. Add attributes to each link.
2. Hide via JS script.
Let’s take a look at both methods.
source