Redirect after access
Send a visitor to a chosen URL after they pass a lock, or after a specific rule denies them.
Redirecting is available in two places on a lock, and they trigger at opposite moments:
Redirect on access — sends a visitor to a URL you choose once they satisfy an entire access key (all of that key's rules).
Redirect on deny — sends a visitor to a URL you choose when one specific rule fails, configured per rule.
Both are optional. If you leave them blank, an allowed visitor simply sees the unlocked content, and a blocked visitor sees the lock's normal access-denied message instead of being sent anywhere.
A lock can use redirect on access or Add customer tags on verification, but not both at once. Setting a redirect URL on an access key disables that key's customer auto-tag field, since a visitor who is redirected away never sees the confirmation that would normally trigger the tag.
Redirect on access
Reach this setting
Open Locks and create a new lock, or open an existing one to edit it.
On the Lock setup tab, pick a content type.
Click the Unlock rules tab, then add at least one access key with its rules in the main column.
Below that key's rules, in the same main column, find the Redirect URL (optional) field. This is a per-access-key setting, not part of the Blocked visitor behavior sidebar panel.

Choose or enter the destination page or URL.
Click Save.
Once a visitor satisfies every rule in that access key, they're sent to the URL you set instead of staying on the unlocked content.
Redirect on deny
Reach this setting
In the same lock, on the Unlock rules tab, open an individual rule inside an access key in the main column.
Find that rule's own Redirect URL field.

Choose or enter a destination for visitors who fail that rule specifically.
Click Save.
If a rule's Redirect URL is left blank, a visitor who fails it simply sees the lock's default access-denied message instead of being redirected. Because each rule has its own redirect, you can send visitors to different destinations depending on exactly which condition they failed — for example, a "must be logged in" rule could redirect to your login page, while a "must be a wholesale customer" rule redirects to your wholesale application form.
Related docs
Last updated
Was this helpful?