Unique URL across different models

We have different models to represent different content types. But all have the common field called URL (slug) which is marked as unique.

Problem is - this field is checked as unique only with same model, not across different models. So editors can now create content with same URL for two different models, which is a big issue on the front.

I believe this is a known issue and a feature requested, right? Any update on when it can be available?

Yes, the feature request is the right one. Please upvote that if you care about it.

Right now, what you could do is build a plugin that manages the slug field and checks across all the models that you want?

1 Like