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

Control that the url is not already used when creating a new blog post #309

Open
Thatoo opened this issue Dec 12, 2023 · 0 comments
Open

Comments

@Thatoo
Copy link

Thatoo commented Dec 12, 2023

Hello,

Using a blog, I happened to had two articles with the same title. And when I wrote the second article, it overwrote the first one. At first I didn't understand why till I figured out that creating a new article with the same title it was using the same URL and thus overwritting the previous article with this URL.

It would be nice that when one wants to create a new article and write the title, WonderCMS check first if this URL is not in use and if it does either (I offer two ideas because one might be easier to code) :

  • warn the user to let the user choose an other Title and forbid validation until the user choose an other title
  • add a number (ordered list) to the title automatically
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