How to Add NoFollow Links to WordPress Menu

The WordPress menu system can be quite powerful but sometimes you want to include external links with a nofollow attribute attached.

Luckily this functionality is built into WordPress but somewhat hidden initially.

In this step by step guide I’ll show you how to add a nofollow link in your WordPress Menu.

First you’ll want to go to the menus section of your WordPress site. This is located under in the appearance admin menu. Appearance/Menus

On the top right you should see an option for “Screen Options”. You’ll need to click this and it will enable more options for each of your links.

After this is open you’ll see the option for “Link Relationship (XFN)”, make sure this is checked and now you’ll have the option to add nofollow to specific links in your WordPress menu.

Once this is checked click the little arrow to the right of one of your menu items and type “nofollow” in the “Link Relationship (XFN)” field.

After doing this and saving your menu you should now see a rel=”nofollow” tag on the link in your menu. This is great for linking to external sites that you don’t want search engines to transfer PageRank to.

We hope this was helpful, if you have any questions feel free to let us know in the comments.

Andy Feliciotti

Andy Feliciotti

Andy has been a full time WordPress developer for over 10 years. Through his years of experience has built 100s of sites and learned plenty of tricks along the way.

2 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Tips Monthly

Get the latest from SmartWP to your inbox.