How to disable external links from indexing by Search Engines in a WordPress Website | SEO Tips

by | May 2, 2022 | 0 comments

How to disable external links from indexing by Search Engines in a WordPress Website | SEO Tips

by | May 2, 2022 | Free Wordpress Plugins | 0 comments



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

[newsletter_form]
<div class="tnp tnp-subscription"> <form method="post" action="https://www.dienodigital.com/?na=s"> <input type="hidden" name="nlang" value=""><div class="tnp-field tnp-field-firstname"><label for="tnp-1">First name or full name</label> <input class="tnp-name" type="text" name="nn" id="tnp-1" value=""></div> <div class="tnp-field tnp-field-email"><label for="tnp-2">Email</label> <input class="tnp-email" type="email" name="ne" id="tnp-2" value="" required></div> <div class="tnp-field tnp-field-button"><input class="tnp-submit" type="submit" value="Subscribe" > </div> </form> </div>