Post by kawej88615 on Dec 5, 2023 3:01:38 GMT -5
In this post we will see how to add the nofollow attribute to links in the WordPress navigation menu . This is a simple and quick procedure, which can be carried out in just a few minutes.
Usually menu links do not have the nofollow attribute , which serves to indicate to Google and other search engines not to follow the link and therefore not to give authority to the page and domain Fax Lists of the link, since most of the time menus link. sometimes resources internal to the site or blog. More rarely , external links are inserted into the navigation link .
However, if the need arises to insert the nofollow rel to all or some links, WordPress as always comes to our aid, as it offers this possibility natively, without the need for additional plugins or code changes.
Therefore, to add nofollows to the links in the navigation menu you need to follow the following procedure:
Access your WordPress dashboard
Click on Appearance and on the Menu sub-item
Once you reach the page from which you can add and modify menu links, click on Screen Settings at the top right
A menu will open, from which it will be possible to tick various items: the one we need is Link Relationships (XFN) or, in English Link Relationship (XFN)
wordpress-menu-screen-settings
Here is the item to tick from the screen settings
Once this procedure has been carried out, it will be possible to nofollow the links in the menu, let's see how.
Just add a custom link normally, from the menu on the left and once expanded set the relationship, or rel, with the nofollow value or any other desired value, as shown in the following image:
link-nofollow-wordpress-menu
In this way it will be possible to link non-indexed contents or external resources, consistently with Google 's instructions for links, which if they do not contain nofollow, transfer authority to the linked page and domain.
If you have any doubts, difficulties or considerations, don't hesitate and leave a comment immediately, as always we will be happy to answer you.
Usually menu links do not have the nofollow attribute , which serves to indicate to Google and other search engines not to follow the link and therefore not to give authority to the page and domain Fax Lists of the link, since most of the time menus link. sometimes resources internal to the site or blog. More rarely , external links are inserted into the navigation link .
However, if the need arises to insert the nofollow rel to all or some links, WordPress as always comes to our aid, as it offers this possibility natively, without the need for additional plugins or code changes.
Therefore, to add nofollows to the links in the navigation menu you need to follow the following procedure:
Access your WordPress dashboard
Click on Appearance and on the Menu sub-item
Once you reach the page from which you can add and modify menu links, click on Screen Settings at the top right
A menu will open, from which it will be possible to tick various items: the one we need is Link Relationships (XFN) or, in English Link Relationship (XFN)
wordpress-menu-screen-settings
Here is the item to tick from the screen settings
Once this procedure has been carried out, it will be possible to nofollow the links in the menu, let's see how.
Just add a custom link normally, from the menu on the left and once expanded set the relationship, or rel, with the nofollow value or any other desired value, as shown in the following image:
link-nofollow-wordpress-menu
In this way it will be possible to link non-indexed contents or external resources, consistently with Google 's instructions for links, which if they do not contain nofollow, transfer authority to the linked page and domain.
If you have any doubts, difficulties or considerations, don't hesitate and leave a comment immediately, as always we will be happy to answer you.