Redirect

Overview

Redirects user from a landing page to a specified URL

Syntax

Redirect(1, 2)

Function Properties

OrdinalTypeDescription
1stringRequiredURL used in redirect
2BooleanRequiredIndicates whether redirect is permanently enabled

Examples

In this sample code, a landing page redirects the user to another site.

Enter the full URL for the page to which you redirect the user. If you provide only a general directory address, make sure you place a trailing slash after the URL, such as http://example.com/.