I'm currently working on an app and functionality as part of the app allows users to edit entries via a front-end form.
As part of editing the entry, users can update the entry title (and the slug gets updated automatically).
When the entry title is changed and saved, obviously the slug will be different, so refreshing the page after the form submit will return a 404 error because it's returning the 'old' page slug.
Any suggestion for a workaround here? What would be the best approach? Ideally after the submit, I love to just return the to same page w/ the updated slug in the url.
Thank you.