How to Add NoFollow Tag to All External Links in WordPress

Share this

nofollow WordPress

Link building is an integral part of SEO. Your page ranking and traffic will improve depend upon the number of backlinks you have. At the same time, a website authority will decrease according to the number of external links it give.

So if you really want to become a successful blogger or a website owner, pay more attention on external links. They are considered as the symbol of your love to an outside content. In other words, you are transferring the traffic you get, to another site by linking them in your content. But you can’t avoid linking in most of the cases.

You have only one solution, to overcome this situation. Add nofollow attribute to the desired link. It tells search engines that you are not in favor of that link, so do not pass your traffic or boost their rank.

Usually, html code of a hyperlink will look like this,

<a href=”http://www.website.com”>Website</a>

You can make it nofollow, by inserting a simple tag into it. So the final code will be,

<a href=”http://www.website.com” rel=”nofollow”>Website</a>.

You have to repeat this process, whenever external links appears in your contents unless you got any mode of benefit for that.

WordPress doesn’t allow you to insert nofollow link automatically. This’s the normal popup screen you will get there to insert a link.

External links WordPress

So you have to go to html section of a post or page to convert it to nofollow. It will be difficult especially if you are making a big lists post.

There are several plugins to help you in such a situation. Popular among them are,

1. Title and Nofollow For Links

This’s a simple plugin to configure all your external links. Don’t bother about any complex settings. Just install and forget it.

When you are going to insert a link, will see this kind of window.

external links WordPress

Add a title for your link, text to display and put a tick mark on second box to not follow the link. To confirm, go to the text screen. The following code can be recovered from there.

<a title=”website link” href=”http://www.website.com” rel=”nofollow”>Website</a>

Congrats. You have successfully placed nofollow tag and the said link won’t affect your blog adversely.

2. WP External Links

WP External Links is another popular plugin in the category. It lets you customize internal and external links in various ways. A number of tags can be assigned to your links- follow/nofollow, nopener and norefferer. If you are a multi site owner, other sites can be excluded from the plugin’s default settings to assign dofollow links to them.

external links wordpress

3. External Links

External Links is useful to configure outbound links in posts, pages and widgets. Install and go to Settings > External links to customize the plugin. Check the first box, to apply settings to all external links in the site. You can apply nofollow attribute to text widgets, make all internal links dofollow, automatically convert text urls into clickable links, exclude html code block from the settings, by selecting the relevant options. You can exclude specific sites from the processing as well.

external links wordpress

4. WP No External Links

Unlike above said plugins, it masks your outbound links in posts, pages, comments and RSS feeds to make them internal or hide. So search engines will treat them like internal links in the site.

external links wordpress

It also allows us to place nofollow tag for such masked external links. The plugin doesn’t change your links any way, they are still usable and clickable.

external links wordpress

5. Nofollow for external link

It will automatically insert rel=nofollow tag to all external links in your site. It is a simple plugin, need not configure anything more. Go to plugin settings, put tick mark on ‘Apply nofollow to menu’ option. Add domains if any, to the excluded list. That’s all. The plugin will do the rest of the things.


Share this
  • Pankaj Gola

    Thanks you for sharing this amazing knowledge and very nice article sir.

    • Hi Pankaj,
      I appreciate your feedback. Keep in touch.