Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slugs not editable #313

Open
vonba opened this issue Jan 30, 2019 · 0 comments
Open

Slugs not editable #313

vonba opened this issue Jan 30, 2019 · 0 comments

Comments

@vonba
Copy link

vonba commented Jan 30, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant