datocms-plugin-dynamic-slug-prefix
v0.2.1
Published
DatoCMS plugin to use locale or other fields' value in the slug prefix.
Maintainers
Readme
DatoCMS Dynamic Slug Prefix
Global settings
{
"globalDomain": "https://store.pwc.de",
"globalPrefixTemplate": "{GLOBAL_DOMAIN}/{LOCALE}/",
"readonlyApiToken": "f8ca75782963871e2b548240679c00"
}Mappings
{
"de-DE": "de",
"en-DE": "en"
}Examples
{
"prefixTemplate": "{GLOBAL_DOMAIN}/{LOCALE}/{API_NAME=publicationsPage}"
}{
"prefixTemplate": "{GLOBAL_DOMAIN}/{LOCALE}/{API_NAME=productsPage}/{PARENT=product.productSlug}"
}Changelog
v0.2.1 - 2025-04-16
- fix: remove non-functional "env" config setting, always use the current DatoCMS environment
