Often on a website, you want to control what pages are displayed in search results. You can do this by adding the noindex meta tag to pages. I’m not going to cover why you would want some pages not to appear in the search results; however, I want to show you how to implement it in Drupal.
This tutorial will teach you how to use the Metatag module to control the noindex meta tag.
If you want to learn more about Metatag, read our tutorial “Getting Started with Metatag in Drupal”.