Adding ‘nofollow’ to WordPress Navigation Links

0

June 12, 2013

Have you been trying to find a way to add the rel=”nofollow” tag to the standard WordPress navigation menu? Well, after needing to do this myself, I’ve found a quick and simple solution and I’m going to share it with you all!

Before you do this, make sure that you understand what the rel=”nofollow” tag is for and don’t just start placing it across your navigation links for no reason because it could have serious implications toward your search engine rankings. The ‘nofollow’ attribute tells the search engines not to pass any PageRank from the selected link. This doesn’t mean that the link won’t be crawled by the search engine spiders; it does mean that they won’t use it within their search ranking algorithm.

Making Your WordPress Navigation Links ‘nofollow’

This should take you the grand total of around two minutes to implement and you don’t need any coding knowledge at all to do so. Firstly, login in to your WordPress admin area and navigate to Appearance>Menus. This will then bring up your navigation menu on your website that should look something similar to this (unless you use a theme that has a custom navigation menu):

WordPress Navigation Menu

Once you’re in the main navigation area, click on the tab at the top-right of your browser that says ‘Screen Options’. This will then bring down a few tick-boxes that display extra fields of information. All you need to do now is tick the ‘Link Relationship (XFN)‘ tick-box, which will give you an extra option under each of your navigation links.

WordPress Menu Link Relationship (XFN)

The final stage is now to go onto the navigation link that you wish to add a ‘nofollow‘ link to and enter nofollow in the ‘Link Relationship (XFN)‘ field.

nofollow WordPress Link

Press ‘save’ and you have now successfully added the rel=”nofollow” tag to your selected WordPress navigation links. Hope you found this useful!

Rate this Article

About Matthew Barby

Matt is a digital marketing consultant from the UK. He is the Digital Strategist at Wyatt International and has a passion for all things digital. He also runs a number of blogs, including his travel blog and pescetarian food blog. You can get in touch with Matt on Twitter or through Google+.

Fancy all of our latest tutorials straight to your inbox?