Do you want to add Nofollow attribute for some links in your WordPress website? When you add a lot of links to your site, it boosts your website SEO. But, some links can reduce your Rankings.
Nofollow attribute is used to tell Google and other search engines not to follow a specific link.
Today in this article, I will tell you how to add Nofollow links in WordPress.
Brief Descriptions of The Content
What is Nofollow?
Nofollow is an HTML attribute with rel = “nofollow” that instructs Google and other search engines from following the specific link.
Nofollow link does not affect your search engine rankings because they do not pass the link juice.
Nofollow Link looks like this:
<a href=”https://www.example.com” rel=”nofollow”>Example</a>
How to Check if a Link is Nofollow?
All nofollow links contain with rel=”nofollow” HTML attribute.
To check the Nofollow link, right-click on the link, then click on “Inspect” and search for rel = “nofollow” tag. As you can see in the screenshot,
If you do not see rel = “nofollow” in the link, then this is a dofollow link.
When Should You Add Nofollow Links?
You should add nofollow to all the external websites you do not trust. Also, add nofollow attributes for Affiliate & sponsored Links and Untrusted content. It protects you from Google Penalty.
1. For Affiliate & Sponsored Links
If you use affiliate links and Sponsor links to your blog, set the nofollow tag for them. Otherwise, Google can reduce your site ranking.
If you use the plugin to manage Affiliate Links on your blog, you can easily set the No-Follow attribute for your Affiliate Links. Here’s a list – 10 Best WordPress Affiliate Plugin to Manage Your Affiliate Link
2. For Untrusted Content
For the reference of your content, linking to a site that you do not trust, you should use the nofollow tag for it.
3. For Sidebar Links
If you use external website links or affiliate links in the sidebar of your blog or website, it is good to set a nofollow tag for them.
How to Add Nofollow Links in WordPress
Here I will tell you about two ways to add Nofollow links.
- Add Nofollow links Manually
- Add Nofollow Links Using Plugins
1. Manually Adding Nofollow Links
Gutenberg is a new WordPress content editor. Since no plugins are currently compatible with Gutenberg. So you have to manually add Nofollow links in Gutenberg editor.
First of all, you need to click Posts >> Add New.
Next, select the text you want to add a link. Then click the “anchor/link” icon and add your link.
After adding a link, if you want to open the link in a new tab, you have to click on the down arrow icon and you will have to click on the “Open in New Tab” toggle box.
Now let’s make it nofollow links.
Click on the three vertical dots (Block Setting) and then select “Edit as HTML” option.
Your content (link) will now appear in the HTML code. As you can see in the screenshot,
You just need to add nofollow attribute in the link so that it can be nofollow link. For this, you have to replace noreferrer with nofollow.
Now, your link has changed to nofollow link. Apply the same process to add nofollow attribute to another link.
2. Adding Nofollow Links Using the Plugin
This method is very easy. If you are a new WordPress blogger and use Classic Editor, you can easily set the nofollow attribute with the help of the plugin.
There are a lot of plugins available to set Nofollow tag in WordPress.org but here I will use the Ultimate Nofollow plugin.
After installing and activating the plugin, open the post or page and add links to the text. Then click on the pencil icon.
Then click on the Gear icon.
A popup box will open in which you will see a checkbox – rel = “nofollow”. Check that box and click on Add Link.
This will change your dofollow link to nofollow link.
How To nofollow All Blog Comment Links
You need to click on Settings >> Nofollow. Then, check the Nofollow all links in comments? box and click the Save Changes button.
Now it will set the nofollow attribute for all the links that appear in your comment.
How to Add Nofollow Link to WordPress Menu
First, click on Appearance >> Menu. Next, click on the Screen Option. Then check the Link Relationship (XFN) box.
Now add your link by clicking on the Custom Link option. Then click the Add to Menu button.
Now the link you add will appear in the Menu Structure Column. You have to click on the Downward arrow. Here you will find the “Link Relationship” options. Just write nofollow in it.
Click on the Save Menu button. This will add the nofollow attribute to the external link in your WordPress menu.
How to Make All External Links Nofollow in WordPress
If you want to set the nofollow attribute for all the external links, then you can do this easily.
First of all, you have to install and activate the External Links plugin in your site. This plugin automatically sets the rel = “nofollow” attribute for all external links.
After installing the plugin, click on Settings >> External Links and check the Add No Follow box.
If you want to open external links in the new tab, check the Open in New Windows box.
In addition, the plugin allows you to add domains and sub-domains, which you do not want to be nofollow.
Scroll down and add the domains for which you do not want to set the nofollow attribute.
Now click on the Save Changes button to store your settings.
That’s all! The plugin will make all external links nofollow.
Here are more guides:
- How to Create Quality Backlinks in 2019 (Updated)
- 23 Best on Page SEO Techniques 2019
- How to Optimize Images for SEO in 2019
We’re done, and it’s now your turn! Find this article helpful? Don’t forget to share!
Leave a Reply