I would like to track changes to seo-slugs to automatically render a 301/2 (for bots), and just load the newest version for SPAs when accessing an url. The handling of the redirect would be done from the frontend consuming the content.
I have on my content type a text field with the seo slug editor on it, and I assume I can use webhooks to pay attention to when such a field is changed and record it back.
Is there already some demo-code available to achieve something like this?
Br
Asger Jensen