Open TrySound opened 2 months ago
Is this meant to be on page settings? We also have this issue for redirects of Webhook Forms, maybe both could be solved with the same feature? https://github.com/webstudio-is/webstudio/issues/3530
Another use case for a "forward page" is a template system: eg: a CMS blog has a "template field" that the user selected, right now you have two options to render a template depending on choice:
1) have all elements in a single page and depending on the field toggle the "show"setting on and off for the components. 2) use the value of the template field to conditionally redirect to another webstudio page that will render.
On option 1 if you have many elements or templates it will be hard to visually manage On option 2 you are querying the CMS twice, one for deciding if its a render, two in the page that actually renders.
User wants to forward page rendering to other pages for example in cases of 404 status in cms data redirect to
/*
page.There are 2 options