If you have inserted links from editor in WordPress, you might have faced this difficulty in adding title and no-follow attributes to the links. By default WordPress, do not have any user friendly interface to insert the title and no-follow to the links. In this article you will learn how to insert NoFollow and Title in WordPress links.
Importance of Title and NoFollow
Title is the description of the page you are linking to. It is supposed to provide the additional information about the link. Title should be relevant, short, catchy, and concise. In most browsers it will pop up when you hover over the link. Here is an example of using title in the anchor tag
<a href=”/john-Corner/” title=”Author’s biography”>John Corner</a>
<a href=”/ john-Corner /” title=”More posts by John Corner”> John Corner </a>
In our previous article “How to Automatically NoFollow External Links in WordPress” we have discussed about the NoFollow external links. When we don’t want to pass the link juice to any linked website we make that link Nofollow. Nofollow is important in terms of SEO. The external links specially that of untrusting websites should be given no-follow attribute.
Here is an example of anchor link with no-follow attribute.
<a href=”http://mustbeweb.com” rel=”nofollow”>MustBeWeb</a>
After the release of WordPress version 4.2, title attribute was eradicated from link insertion pop up box of WordPress. Similarly there is no option to add no-follow attribute to the link in editor. Normally, when you open the link option in the editor, you get a pop up box like this.
In this article we will see how to add fields to add title and no-follow attribute in this box.
How to Insert NoFollow and Title in WordPress Links
The easiest way to add the title and No-follow fields is by the help of a plugin called Title and Nofollow For Links. The plugin is simple and with no configuration. The Title and Nofollow For Links plugin adds the extra field and check box for title and no-follow attribute. To install and use the plugin follow the following steps.
1. Login to admin dashboard and go to Plugins > Add New.
2. Search for the plugin with the name Title and Nofollow For Links. Install and activate the plugin.
3. There are no settings or configurations to work with. The plugin starts working as soon as you install it.
4. Now add a new post or edit any post. Try inserting links using normal insert/edit link pop up box.
5. Now in insert/edit box you should see a new field to add the title and a new check box to add rel=”nofollow” to link.
Thus the plugin has successfully added the title and no-follow attributes to the normal links. If you see the HTML of the link, it looks like this
<a href="http://example.com" title="Title Here" rel="nofollow" target="_blank">Example Website</a>
Now even if you remove the plugin, the links added by the plugin will still have these attributes. We hope the article will be useful for you to add the title and no-follow attributes in the normal link.
Latest posts by Kantiman Bajracharya (see all)
- What are Different WordPress Theme Licensing Terms? - December 21, 2017
- 4 Tips to Optimize Your WordPress for Social Media Share - November 30, 2017
- What is WordPress? Is WordPress Free? Why is WordPress so popular? - November 22, 2017