🎈 Welcome to the Marketplace — Explore and discover the ecosystem around DatoCMS, and share your own work with the community!

Dynamic Slug Prefix

DatoCMS plugin to use locale or other fields' value in the slug prefix.

This is a Community Plugin! Learn how create your own plugin, or copy and remix existing ones in our documentation

DatoCMS Dynamic Slug Prefix

Global settings

{
"globalDomain": "https://store.pwc.de",
"globalPrefixTemplate": "{GLOBAL_DOMAIN}/{LOCALE}/",
"env": "",
"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}"
}
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2025 Dato srl, all rights reserved P.IVA 06969620480