url required default (none)The destination URL. Escape the colon in the scheme as http#:// (or https#://) so the engine does not treat it as a parameter separator. If this value is empty the command does nothing - no redirect and no output - which is what makes the conditional forms (an ifset or ifeq with an empty true-branch) safe.
code optional default 301The HTTP status code sent with the Location header. 301 means the page moved permanently (browsers, caches and search engines should remember the new URL); 302 is a temporary redirect. Defaults to 301.
[{redirect:}]
[{redirect:{ifset:x::http#://example.org/new-page}}]
[{redirect:{ifeq:example.org:example.org::https#://example.org/}}]
[{redirect::302}]
[{redirect:{ifset:x::http#://example.org/moved}:302}]