voorhoede / head-start

Base setup on top of headless services to help you quickly start a new website
ISC License
3 stars 0 forks source link

Editable redirects #64

Closed jbmoelker closed 6 months ago

jbmoelker commented 8 months ago

User story

As a content editor, I want to be able to configure redirects in the CMS, so that I can redirect visitors to a new page when one was removed or deleted or I simply wanted a short url for marketing.

System design

jbmoelker commented 7 months ago

I modelled a quick Redirect Rule model in DatoCMS to test reusing the Internal Link model. However I'm stuck figuring out a simple setup as the multi-locale environment makes it difficult. An Internal Link has a different value for each locale. Whereas a simple redirect rule has the same from and to for each locale. 🤷 :

image

Which prompts this modal when selecting an Internal Link:

image

Notes: