There may come a time when you want to add a nofollow tag to links in your navigation – whether for external links, social media icons or something else.
This post will show you how to add nofollow links in WordPress navigation menus and how to make them open in a new tab/window so that your visitors don’t leave your site.
Nofollow links tell Search Engines not to follow the link and that it shouldn’t influence the SERP. It is recommend that you use NoFollow Links on any links that have any kind financial gain behind them.
Add nofollow links in WordPress navigation menus
From your WordPress Dashboard, go to Appearance > Menu. Click on Screen Options at the top right corner of the screen and check the boxes next to Link Relationship (XFN) and Link Target options.
Now click the links tab and add your custom link. In the expanded menu item, you’ll now see Link Relationship and Open link in a new window/tab.
Enter nofollow in the link relationship option, tick the option to Open link in a new window/tab and save the changes.
If you check the HTML source for your link, it should now show the nofollow attribute.
5 responses to “How to add nofollow links in WordPress navigation menus (and open in a new tab)”
Very well explained, keep it up.
Thank You it is beneficial for me, I just started blogging, and I was not aware of following and dofiollow. but I read an article about NoFollow, since then I am looking for a plugin to add NoFollow on my Internal and outbound link
Thank you very much for an interesting and useful review!
Thank you it is really helpful for me. Now I am a regular visitor of this blog and I really likes the way you present articles.
Thank You it is beneficial for me, I just started blogging, and I was not aware of following and dofollow. but I read an article about NoFollow, since then I am looking for a plugin to add NoFollow on my Internal and outbound link