How to create a Protected Page
Restrict storefront URLs by customer segment, country or password.
Use Protected Pages to restrict specific storefront URLs.
This is the right choice for member-only/wholesale landing pages, hidden URLs, VIP access pages, and time-limited campaigns combined with secret product tagging.
When to use Protected Pages
Choose this tag type when the restriction is tied to a page or URL, not to a product or collection, unless you want an additional layer of password protection.
Protected Pages can either:
- show a page only to a selected audience
- hide a page from a selected audience
- gate a page behind a password
Use cases:
- members-only landing pages
- hidden collection links
- campaign pages
- password-gated access pages
Before you start
Decide these settings first:
- the exact URLs you want to protect
- who should qualify
- where blocked visitors should go
- whether you also want a password
- whether the rule should start or end automatically
If the page links to a restricted product or collection, plan that rule too.
Protected Pages controls access to a specific URL.
It does not hide the product URLs within this URL on its own. This is where secret product tagging may be more suitable.
Set up a Protected Pages tag
Open Tag Library
In Shopify admin, go to Apps → Roadmap Dev → Tag Library.
Create a new tag
Choose Protected Pages
Add the URLs you want to protect
Set the redirect for blocked visitors
Choose a destination in Redirect ineligible customers to:.
Use
homepagefor a broad fallback, or enter a path like/collections/all.Choose who can access the URLs
In Customer Eligibility:
- use The above pages are: to choose whether the selected audience should see the URLs
- use only for to define who qualifies
- add any required extra values, such as Shopify customer tags

The available audience options match the ones used in Secret Products:
- all customers
- logged in customers
- logged in customers tagged with
- logged in customers with order history
- customers from specific countries
- members
- non-members
Add password protection if needed
In Password Protection, enable Require password to access the above pages if you want a password prompt.
Then set:
- Lock Screen Title
- Lock Screen Caption
- Lock Screen Password
- Lock Screen Background Color
- Lock Screen Background Image

This is usually paired with Visible for all customers.
You can also combine it with logged-in or member-only access if needed.
Anyone with the password can access the URL, so share it carefully.
The lock screen uses your storefront theme styling, then applies the colours and image you set here.

Add a schedule if needed
Save and activate
Click Save.
Switch the tag to Active after testing passes.
URL tips
Use the same storefront path the customer will visit.
Examples:
/pages/vip-access/collections/private-drop/products/member-bundle
Add one path per line when possible.
Common use cases
Hide a page from wholesale customers
Use:
- The above pages are: Hidden
- only for: logged in customers tagged with
- Customer Tags:
wholesale
Best for pages like a loyalty page that wholesale customers should not see.
VIP early access, then public access
Set an end date.
Choose When inactive, the selected pages are: Visible.
Best for launches that should later open to everyone.
Members-only page that stays private
Leave Set end date off.
Keep the page restricted indefinitely.
Best for ongoing member resources or private landing pages.
Short campaign page
Set both a start date and an end date.
Choose the inactive behavior you want after the window closes.
Use Visible to open the page later, or Hidden to close it again.
Password-gated campaign landing page
Use password protection when you want to share access through email, SMS, or another campaign touchpoint.
In most cases:
- The above pages are: Visible
- only for: all customers
- Password Protection: enabled
When the campaign ends, set When inactive, the selected pages are: to match the outcome you want.
Use Visible if the page should become public.
Use Hidden if the page should close again.
Password-gated access to a product or collection
Use Protected Pages for the gateway page.
Then create a matching Secret Product tag for the product or collection itself.
Without the product-side rule, the product or collection can still be reached directly.
Test before launch
Check all of these before you activate the tag:
- the exact protected URL redirects when the customer should be blocked
- the allowed customer can open the URL
- the redirect destination is correct
- the password works, if enabled
- the schedule and inactive behavior match the outcome you want
Fix common issues
I can still access the page when I should be blocked
Check these first:
- the tag Status is Active
- the exact URL path in URLs is correct
- the test customer matches the eligibility rule
- the protection rule is within its active schedule
Customers are being redirected unexpectedly
Review Redirect ineligible customers to:.
Anyone who does not qualify, or is outside the active schedule, will be sent there.
The page should be public now, but it is still restricted
Check When inactive, the selected pages are:.
If you want the page to open after the schedule ends, this must be Visible.
The password page works, but the product is still visible without the password
Protected Pages only controls the page URL.
If you are running a password-gated product or collection campaign, add a matching Secret Product rule too.
Related guides
- Customer eligibility controls in Tag Library
- Schedule start and end dates in Tag Library
- Restrict products or collections in Tag Library





