
By Alexander
Universal auto slug generator for all Strapi v5 content types with full Rich Text support. Automatically generates SEO-friendly slugs from title fields with Cyrillic transliteration, uniqueness checking, and beautiful admin interface.
released August 6, 2025
npm install strapi-plugin-auto-slug-manager-a-mi13🔗 Universal auto slug generator for all Strapi content types with Rich Text support
slug fieldnpm install strapi-plugin-auto-slug-manager-a-mi13
# or
yarn add strapi-plugin-auto-slug-manager-a-mi13Add the plugin to your config/plugins.js or config/plugins.ts:
module.exports = {
'auto-slug-manager': {
enabled: true,
config: {
enabled: true, // Enable/disable plugin globally
sourceField: 'title', // Primary field to generate slug from
fallbackField: 'name', // Fallback field if primary is empty
handleRichText: true, // Process Rich Text (blocks) fields
addSuffixForUnique: true, // Add suffixes for uniqueness
supportCyrillic: true, // Support Cyrillic transliteration
updateExistingSlugs: true, // Update existing slugs when title changes
slugifyOptions: {
lower: true,
strict: true,
locale: 'ru'
}
}
}
};slug field to any content type in your Strapi schematitle or name fields{
"kind": "collectionType",
"collectionName": "articles",
"info": {
"singularName": "article",
"pluralName": "articles",
"displayName": "Articles"
},
"attributes": {
"title": {
"type": "blocks"
},
"slug": {
"type": "uid",
"targetField": "title"
}
}
}slug fieldsbeforeCreate and beforeUpdate hooksslugify with Cyrillic supportThe plugin provides API endpoints for managing settings:
GET /auto-slug-manager/settings - Get current settingsPUT /auto-slug-manager/settings - Update settingsGET /auto-slug-manager/status - Get plugin status and discovered content types{
"title": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"text": "My Article Title"
}
]
}
]
}{
"title": "<h1>My Article Title</h1><p>Some description</p>"
}{
"title": "My Article Title"
}All three will generate: my-article-title
The plugin supports 8 different locales for transliteration. You can change the locale directly from the admin panel:
| Locale | Language | Example |
|---|---|---|
ru | Russian | Моя статья → moya-statya |
en | English | My Article → my-article |
de | German | Mein Artikel → mein-artikel |
fr | French | Mon Article → mon-article |
es | Spanish | Mi Artículo → mi-articulo |
it | Italian | Il Mio Articolo → il-mio-articolo |
pl | Polish | Mój Artykuł → moj-artykul |
tr | Turkish | Benim Makalem → benim-makalem |
Russian locale (ru):
Моя статья → moya-statyaТестовая запись → testovaya-zapisEnglish locale (en):
My Article → my-articleTest Entry → test-entry# Clone the repository
git clone https://github.com/A-mi13/strapi-plugin-auto-slug-manager
cd strapi-plugin-auto-slug-manager
# Install dependencies
npm install
# Build the plugin
npm run buildContributions are welcome! Please read our contributing guidelines before submitting PRs.
MIT License - see LICENSE file for details.
Found a bug? Please create an issue on GitHub.
Made with ❤️ for the Strapi community
Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.
Submit
