gatsby-plugin-no-index
A simple plugin that keeps your website from being indexed by search engine.
How to use
- Install using either npm or yarn:
yarn add gatsby-plugin-no-index
or
npm install gatsby-plugin-no-index
- Add to
gatsby-config.js
moduleexports = plugins: `gatsby-plugin-no-index`
Further readings
https://moz.com/learn/seo/robots-meta-directives https://developers.google.com/search/reference/robots_meta_tag