Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@strapi/plugin-seo
Advanced tools
The official plugin to make your Strapi content SEO friendly
To install this plugin, you need to add an NPM dependency to your Strapi application.
# Using Yarn
yarn add @strapi/plugin-seo
# Or using NPM
npm install @strapi/plugin-seo
When clicking on the plugin homepage for the first time, the plugin will automatically look if a shared.seo
component exists in your project. If not, the plugin will automatically create it with a sub shared.meta-social
component.
If a shared.seo
component already exists in your project. You might want to rename it or delete it otherwise, the plugin will not create the necessary component in order to work.
From there you can get an overview of which content-types contains the SEO component or not. You can quickly add the SEO component to a selected content-type.
Note: By doing this, you will be redirected to the Content-Types builder on the specific content-type. You'll need to create a new component at the root of this content-type called seo
using the existing component the plugin created for you: shared.seo
.
From any content manager view for a content-type that contains the SEO component, you'll be able to see a right-side card dedicated for the SEO plugin. From there you can see a quick SEO analysis and action for you to perform (opening preview, opening complete analysis details modal).
Note: You'll need to fill your SEO component with data to be able to see the SERP preview, Social post preview and complete analysis.
./config/plugins.js
module.exports = ({ env }) => ({
// ...
seo: {
enabled: true,
},
// ...
});
Then, you'll need to build your admin panel:
# Using Yarn
yarn build
# Or using NPM
npm run build
You'll be able from the SEO settings page to import a shared.seo
& shared.meta-social
components from any GitHub repository By default, our components GitHub repository is being used.
Notice: If you decide to import your own components, make sure that they belong to a shared
category that their names is the same (seo
, meta-social
).
Notice2: When adding your SEO component, make sure to name it 'seo' and to include it in the root of your Content-Type.
Once you create your SEO component in the edit view inside the Content Manager, the SEO button will appear on the the right-links injection zone. You'll be able to:
FAQs
Make your Strapi content SEO friendly.
The npm package @strapi/plugin-seo receives a total of 8,626 weekly downloads. As such, @strapi/plugin-seo popularity was classified as popular.
We found that @strapi/plugin-seo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.