@webbio/strapi-plugin-seo-robots-addon
v0.0.8
Published
Plugin that adds nofollow and noindex switches to https://www.npmjs.com/package/@strapi/plugin-seo.
Downloads
147
Maintainers
Keywords
Readme
Strapi plugin Seo Robots Addon
Plugin that adds nofollow and noindex switches to the Seo Strapi plugin. It's an extension of: https://www.npmjs.com/package/@strapi/plugin-seo.
How to use
- Install the Seo plugin:
yarn add @strapi/plugin-seo
- Install this plugin:
yarn add @webbio/strapi-plugin-seo-robots-addon
- Enable the
seo
and theseo-robots-addon
plugin inplugins.(js|ts)
:
export default ({ env }) => ({
//...
seo: {
enabled: true
},
'seo-robots-addon': {
enabled: true
}
//...
});
- Add the custom field to
seo.json
:
"noIndexNoFollow": {
"type": "customField",
"customField": "plugin::seo-robots-addon.seo-robots-addon"
},
- Use the plugin by manually editing the
metaRobots
field or using the new switch buttons.