0.0.8 • Published 2 years ago
@webbio/strapi-plugin-seo-robots-addon v0.0.8
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
seoand theseo-robots-addonplugin 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
metaRobotsfield or using the new switch buttons.
