Interface Redirect

Hierarchy

  • Redirect

Properties

enabled: boolean

If false, redirect should not be used

id: string
name: string

Internal name of the redirect. Admin only.

source_url: string

Internal url to be redirected Can hold a variables in parentheses {}

Example

/old-url/{var1}
target_url: string

URL to which the source_url will be redirected Can be either a relative or absolute URL

Example

/new-url/{var1}|https://example.com/new-url/{var1}

Generated using TypeDoc