Can we restrict the slug length?

We’ve recently had an issue with a rather long slug (150 characters). The problem was not so much with Storyblok (or with Next.js which we use as SSG) but with the Windows operating system which has some arbitrary length restrictions, and which we cannot change.

In any way, I would like to avoid that editors create long slugs (I would also like to avoid editors to create too long titles, but that is a separate issue :slight_smile:). If a slug is too long, I’d like the editor to take note and shorten it within some “reasonable” limit.

Therefore, is there a possibility to restrict the slug length in Storyblok? Or can you recommend some other approach?

Hello Jakob,

currently, there isn’t a way to limit the length of the slug and name of stories.
I opened a feature request for that here:

1 Like