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