Simple guide on how to add nofollow to all External Links in your WordPress Blog. NoFollow tag can be added to external links manually or by using a plugin. As far as SEO is concerned, it is not good to have too many dofollow links in your blog post. First of all you need to know the difference between “nofollow” and “dofollow” links, then you can decide which one to use.
img via mic
Difference between “NoFollow” and “DoFollow” links
NoFollow Links: Tells the Google Bot or any other Search Engine Bot, not to follow the link. Attribute rel=”nofollow” is mostly used when we add a link to any untrustable or bad websites in our blog post.
DoFollow Links: Every search engine Bot will follow these links and certain value will be given to them, based on the quality of your blog. Attribute rel=”dofollow” is used when we interlink the articles on the same blog.
Where to use nofollow attribute in links ?
This is quite simple thing and here are some cases where many bloggers regularly add
rel="nofollow" attribute to the link.
- Affiliate Links used on your Blog.
- Image Credit Link on your Blog Post.
- Blog Roll links on footer of your blog.
- Any External Link to other blog or website.
Manually add nofollow attribute to all External Links
If you got some basic knowledge in HTML, then its very easy to add nofollow attribute to all External Links. Here are the steps you need to follow:
Consider this default link
<a href=”https://www.wpsquare.com”>WordPress Resources</a>
Now, add rel=”nofollow” attribute to the default link
Voila, you have successfully added nofollow to the link.
Add nofollow to all External Links using WordPress Plugins
Using a plugin is quite simple task and many other advanced options are also available. Here we got 2 Ultimate WordPress plugins that helps to add nofollow attribute to all External Links.
1. WP External Links
Here is an awesome tutorial on how to install and configure WP External Links plugin on your WordPress blog. Please do check the screenshots and follow the below steps.
Download and install WP External Links plugin using the link below.
After installation, go to Wp External Links options page. Here you need to configure the plugin based on your requirement and we did the same.
Open external links in new tab or window and apply those settings to links in Sidebar, Content Page and comments section. You can also add some URL’s to ignore list separated by an enter.
Attribute rel=”external” helps to notify the browser to open link in new tab or window, similar to target=”_blank” attribute. But the difference is rel=”external” attribute is XHTML valid, whereas target=”_blank” is not.
The additional feature of this plugin is, we can style the external links by adding an icon to them, as shown in screenshot. Select an icon based on the color scheme of your blog and save changes.
These settings are not necessary in normal case, but are handy in some situations. You can change the WP External Links menu position using that link.
Hope, you like this awesome plugin and now just move-on to another plugin which is an alternative to WP External Links.
2. External Links
This plugin works similar to WP External Links and got quite less features when compared to it. External Links plugin adds rel=”nofollow” attribute to all outgoing links and also helps to open them in new tab or new window. Icon can also be included in any external link and if you don’t want an icon, simply get rid of it by adding attribute in the link.
Hope, you like this ultimate article on “How to add nofollow to all External Links”, if you got any queries just drop a comment and we will get back to you soon.