How To Add NoFollow Links To WordPress Navigation Menu Items?
January 12th, 2017 | by Ravi Chahar || 7 Comments |
HTML is an interesting language and every time you try to develop something, you would want it.
Many people have a question in their mind about the external links they add to their website.
Though you can easily add nofollow links to all the external links which are present in the posts and pages but the problem is with the menu items.
What would you do to add nofollow links to WordPress navigation menu items? That’s what you’re here to find out.
In this tutorial, you will the easiest guide which doesn’t contain any plugin or coding.
You can handle it from your admin panel only.
Adding NoFollow Links Without Any Coding Is Simple.
A few people get scared of the codes.
It’s because people know that a small wrong code can break their website. So now, no need to worry about. Just login to your WordPress admin panel and you’re ready to go.
Go to Appearance>>Menus.
Choose the menu you want to edit. You all see the “Screen Options” in the top-right corner of the screen. Yes, that’s it. Click to that button.
You will find many options including “Link target” and “Link Relationship (XFN)”. Check the boxes.
Now is the time to choose the menu you want to edit.
If you want to add any new menu item then do it from the left list. I am sure, you know how to create navigation menu in WordPress.
If you want to add the nofollow tag to the existing menu items then choose it.
Just click to any of them and you will find the two options you just activated.
Click on the checkbox to open the link in the new tab so that whenever your readers open that external link, it opens in a new place.
In front of “Link Relationships“, add “nofollow” and you’re done.
You have successfully added the nofollow tag to the external links of your WordPress menu.
How would you check if it’s done?
Well, there is a simple solution for that.
If you’re a developer then you would know how to inspect the element. There is a simple method. Just take your cursor to the menu item and right click.
Choose “inspect element” and you will see the exact code of the menu item.
There will be rel=”nofollow” tag in the link tag. It means you have successfully done your job.
Isn’t That Easy To Add NoFollow Links To WordPress Navigation Menu Items?
People get afraid for no reason.
As you can see, you don’t need to engage with the codes and no extra plugin, just the simple use of your WordPress admin panel.
If you’re a developer then you can also add nofollow links to WordPress navigation menu items using the codes. Just use the WordPress theme files.
For beginners, the above-explained is the best method. Do you want to try?