Many website homeowners desire so as to add a nofollow tag to all exterior hyperlinks. Including a nofollow attribute to hyperlinks in WordPress is very simple. Nevertheless, it’s not as clear for navigation menus. On this article, we are going to present you the best way to add nofollow hyperlinks in WordPress navigation menus.
First begin by including the exterior hyperlink to your WordPress navigation menu identical to you’ll add any customized hyperlink.
Merely go to Look » Menus and click on on the hyperlink tab. Enter the URL and hyperlink textual content after which click on on add to menu button.
The exterior hyperlink you added will now seem within the Menu Construction column. You should click on on the downward arrow to increase the menu merchandise. Like this:
Subsequent, click on on the Display screen Choices button on the high proper nook of the display and examine the packing containers subsequent to Hyperlink Relationship (XFN) and Hyperlink Goal choices.
Now scroll again all the way down to your expanded menu merchandise, and you’ll discover two new choices. Hyperlink Relationship and Open hyperlink in a brand new window/tab. You should enter
nofollow within the hyperlink relationship possibility. It’s also possible to examine the open hyperlink in new window/tab possibility if you would like.
Lastly, click on on the Save Menu button to retailer your modifications.
That’s all, now you can preview your website.
To guarantee that a nofollow attribute is added to your hyperlink, you may take the mouse to the exterior hyperlink, proper click on and choose examine aspect. Your browser window will break up into two. Within the backside window it is possible for you to to see the HTML supply to your hyperlink. It is going to show the nofollow attribute together with your hyperlink.
You May Also Like : How To Unblock Limit Login Attempts in WordPress
We hope this text helped you learn to add nofollow hyperlinks in WordPress navigation menus. You might also like our tutorial on the best way to add picture icons to navigation menus in WordPress.
If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.