strapi-community / strapi-plugin-slugify

A plugin for Strapi Headless CMS that provides the ability to auto slugify a field for any content type.
https://market.strapi.io/plugins/strapi-plugin-slugify
MIT License
45 stars 21 forks source link

Don't override slug if already set #56

Closed sapkra closed 2 years ago

sapkra commented 2 years ago

If you already have published an article with a title and slug and you want to change the title afterwards, it would be very bad if the URL is changing too.

There should be a setting to disable that behavior.

ComfortablyCoding commented 2 years ago

By making the title field a reference you are adding it as a dependancy for the slug. Their is no way for the program to know when you want to update the slug or not when the title is updated.

If you have any suggestions on how to handle this, I am happy to hear them.

P.S. I am moving this to a discussion as it is not an issue/bug.