Add Nofollow Links in WordPress Navigation Menus (and open in a new tab)

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.

Not sure what nofollow links are and when you need to use them? Understanding NoFollow & DoFollow Links – why you NEED to use NoFollow for Sponsored Content

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.

How to Add Nofollow Links in WordPress Navigation Menus

  1. 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.
  2. How to add nofollow links in WordPress navigation menus (and make navigation links open in new tab/window)

  3. 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.
  4. Enter nofollow in the link relationship option, tick the option to Open link in a new window/tab and save the changes.
  5. How to add nofollow links in WordPress navigation menus (and make navigation links open in new tab/window)

If you check the HTML source for your link, it should now show the nofollow attribute.

How to add nofollow links in WordPress navigation menus (and make navigation links open in new tab/window)

5 responses on “Add Nofollow Links in WordPress Navigation Menus (and open in a new tab)

  1. 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

  2. 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

Sorry, comments are closed!