Set the redirect URL
Usage
// basic usage
$pagesRequest->setRedirectUrl(string $redirectUrl);
// usage with all arguments
$pagesRequest->setRedirectUrl(string $redirectUrl, int $type = 301);
Arguments
Name | Type(s) | Description |
---|---|---|
redirectUrl | string | |
type (optional) | int |
PagesRequest methods and properties
API reference based on ProcessWire core version 3.0.236