You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way I understand it the URL slug of a piece of content is tied to its filename which is set at create time and then not editable (unless you rename the file).
There are many reasons we might want to change this from within the admin UI (misspelled title initially, the title changes, SEO concerns etc) - what would be the most practical way of enabling this?
One simple idea could perhaps be expanding the event hooks concept. Perhaps the ability to add a post_save hook that checks a 'slug' field and updates the filename to match the field. Would this make sense?
Ideally I would love a Model layer for this type of thing, but this obviously increases complexity.
Thanks!
The text was updated successfully, but these errors were encountered:
The way I understand it the URL slug of a piece of content is tied to its filename which is set at create time and then not editable (unless you rename the file).
There are many reasons we might want to change this from within the admin UI (misspelled title initially, the title changes, SEO concerns etc) - what would be the most practical way of enabling this?
One simple idea could perhaps be expanding the event hooks concept. Perhaps the ability to add a post_save hook that checks a 'slug' field and updates the filename to match the field. Would this make sense?
Ideally I would love a Model layer for this type of thing, but this obviously increases complexity.
Thanks!
The text was updated successfully, but these errors were encountered: