See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub

gatsby-plugin-no-index


A simple plugin that keeps your website from being indexed by search engine.

How to use

  1. Install using either npm or yarn:
yarn add gatsby-plugin-no-index

or

npm install gatsby-plugin-no-index
  1. Add to gatsby-config.js
module.exports = {
  plugins: [
    `gatsby-plugin-no-index`,
  ]
}

Further readings

https://moz.com/learn/seo/robots-meta-directives https://developers.google.com/search/reference/robots_meta_tag

© 2022 Gatsby, Inc.