For the complete documentation index, see llms.txt. This page is also available as Markdown.

Specific URL

Lock any custom URL or path on your store behind access rules, with an option to exclude specific URLs.

The Specific URL content type locks any custom path on your storefront that isn't covered by the other content types — a landing page built outside the standard page/collection structure, a search results path, or any URL pattern you want to gate.

Create the lock

  1. Open Locks in the app's navigation.

  2. Click Create lock.

  3. Give the lock a descriptive name, for example "Landing page — passcode required."

Choose Specific URL as the content to lock

  1. On the Lock setup tab, in the content picker, select Specific URL.

The content picker with Specific URL selected as the content type to lock.
Select Specific URL in the content picker to lock a custom URL or path.
  1. In the Restricted URLs card, type the path you want to lock — the field shows the expected format, for example /contact-us — then click the add button beside it. Repeat to add more paths to the same lock.

The Restricted URLs field showing the /contact-us example format, with the add button beside it.
Enter each path you want to lock, then click add.

Enter the path only (starting with /), not the full domain. If you need to keep certain paths public inside a much broader lock, use the Whole website content type instead — it has an Exclude url option, which Specific URL doesn't.

  1. Click the Unlock rules tab to continue.

Add an access rule

  1. Add at least one rule — for example, Secret link, so the URL only unlocks for visitors who arrive with a valid secret link token.

  2. Configure the rule's settings. See Access rules overview for the full catalogue of available rules.

  3. Add every required condition to the access key. All conditions must be satisfied. See Combining rules.

Choose a lock behavior

On the same Unlock rules tab, the right-hand sidebar has a Blocked visitor behavior panel — configure it alongside your rule:

  1. A locked URL typically shows a full lock screen until the visitor passes. Review Lock behavior overview for the full set of options, including redirecting visitors after they gain access.

Save

  1. Click Save. The lock takes effect on your storefront as soon as the app embed is enabled.

Last updated

Was this helpful?