How to Easily Add Nofollow Links in WordPress Navigation Menus**

Date:

Share post:

KEYWORD: How to Add Nofollow Links in WordPress Menu

**
**
Want to add the nofollow attribute to links in your WordPress menu? Adding the nofollow attribute to external links can provide added security, especially when linking to unfamiliar websites. If you’re new to WordPress and unsure how to add a custom link with the nofollow tag to your menu, don’t worry. In this comprehensive guide, we will walk you through the step-by-step process of adding nofollow links to your WordPress menu.

Method 1: Using the WordPress Customizer

If your WordPress theme has a dedicated menu tab in the theme customizer, follow these simple steps:

  1. Go to your WordPress admin sidebar and click on “Appearance”, then select “Menus”.
  2. In the “Menus” screen, click on the “Custom Links” tab to add an external link.
  3. Enter the URL and link text for the website you want to link to.
  4. Click “Add to Menu” to incorporate the external link into your menu.
  5. To add the nofollow attribute, click the downward arrow on the right of the menu entry.
  6. In the Link Relationship (XFN) field, enter “nofollow”.
  7. For a better user experience, check the “Open link in a new tab” checkbox.
  8. Click “Save Menu” to save your changes.

To confirm that the nofollow attribute has been added, right-click on the new link, select “Inspect”, and review the HTML source for the presence of the nofollow attribute.

Method 2: Using the WordPress Full Site Editor

If you’re using WordPress 5.9 or a later version and your block theme supports the WordPress full site editor, follow these straightforward steps:

  1. Go to your WordPress admin sidebar and click on “Appearance”, then select “Editor”.
  2. Scroll down until you find the “Custom Link” block, and drag it onto your navigation menu.
  3. Type or paste the URL and adjust the “Open in new tab” option if desired.
  4. Click the “Submit” icon to save the settings for the menu item.
  5. Rename the menu item to provide a more descriptive title.
  6. Click on the menu item, and a toolbar will appear.
  7. Click the link icon on the toolbar.
  8. In the settings pane on the right, enter “nofollow” in the “Link rel” field.
  9. If desired, you can also add a description and title for the link and rearrange the menu items.
  10. Click “Save” to apply your changes.

View your website to see how the navigation menu appears with the newly added nofollow link.

Congratulations! You have successfully added nofollow links to your WordPress menu. For a wide range of WordPress tutorials, subscribe to our YouTube channel or follow us on Twitter and Facebook. Additionally, check out our collection of informative articles on automating workflows in WordPress or optimizing WordPress performance.

Subscribe to our newsletter

Stay ahead of the game! Subscribe to our newsletter for exclusive tips and insights on Data Structures & Algorithms and interview preparation.

Leave a Reply

Related articles

10 Effective Growth Hacking Techniques to Boost Your Online Influence**

The Influence of Online Power: 10 Techniques for Boosting Growth In today's digital world, having a strong online presence...

Boost Your Productivity with Checklists: An Essential Tool for Every Blogger and Marketer

The Power of Using Checklists: Enhancing Your Efficiency as a Blogger or Marketer In the fast-paced world we live...

Convert Webpages to PDFs: A Simple Guide**

Finding an easy and reliable way to convert webpages to PDF files can be a daunting task. Many...

Mastering Freelance Success: Key Tips for Building a Thriving Career

Keys to Creating a Successful Freelance Business: Essential Strategies and Techniques Introduction: Flourishing in the Freelance Economy As the gig...