Redirect

Redirects user from a landing page to a specified URL

Redirect(1, 2)

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

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

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