Redirecting if missing a parameter or parameter value

I’m using storyblok with netlify, and have a page where i’m loading a storyblok bridge to edit the page, would it be possible in some way to redirect pages not coming from the storyblok iframe to root?

for example if the request does not include parameter ?_storyblok_tk[space_id]=xxx

No, we don’t have a built-in way to do that. You could of course do it in your client-side javascript or as a function, but that is a bit of work…

1 Like