What I’m trying to do is create a soft redirect from the offline page. I’m using it to mask a staging site, so I would like people to be redirected to the live site, but without invoking 3xx.
Hi,
Sorry, but it’s not possible to add SCRIPT tags unless you modify the plugin source.
Would it be possible to request this functionality? Perhaps a second field that would take JS code, and wrap it in <script> tags?
I’ll add it to our to-do list 👍. But nobody requested this before, so I can’t guarantee when we’ll add it.
Sure thing.
Alternatively, you could add fields for “soft redirect” or “javascript redirect” to another URL, if you feel that allowing JavaScript outright could be a security issue. Something like Redirect to url:
and Timeout in seconds:
would probably work just as well.