# Restrict Detailed Pages Access with Access Code

{% hint style="info" %}
By enabling this feature, only people with the access code can access specific Detailed Pages. **It is possible to use separate access code for different pages.**
{% endhint %}

{% hint style="warning" %}
This feature is only available in Pro, Pro Plus and Enterprise plans.&#x20;
{% endhint %}

{% hint style="success" %}
Note: By default, the pages are open for everyone.
{% endhint %}

### How to lock only specific pages with Access Codes.

1. Goto 'Detailed Pages' sheet and add a new column at the end as 'Extra Config' (Do this only if you don't see 'Extra Config' column in the sheet. **Make sure this is Column H.** See [this 'Detailed Pages' sheet for reference](https://docs.google.com/spreadsheets/d/15OhyVXqKuYIeDtScIllF2ZU29zM3qm9lbUbQKkk-vws/edit#gid=888002452) to make sure you have all required columns.&#x20;
2. For the pages you want to lock with Access Code, update the 'Extra Config' column as below.

**\[AccessCode: 12345ABc]**&#x20;

In this examples,  "12345ABc" is the Access Code for the specific detailed page in 'DetailedPages' sheet.

See sample below.

![](/files/5Z04z6P8wqsQSgccXhrC)

Note: By default all the pages will be open for everyone unless you add AccessCode in the 'Extra Config' section.

### Testing

* [x] Once all the above steps are done, **use 'live test' link to pull latest changes**
* [x] Goto your website and test the detailed pages.&#x20;
* [x] If the DetailedPage has 'AccessCode' in the Google sheet, the link will ask for AccessCode to unlock the page.&#x20;
* [x] If the DetailedPage has no settings for 'AccessCode' in the Google sheet, the link will be open for everyone.

{% hint style="info" %}
Please get in touch with support if you need any further assistance on locking detailed pages with specific Access Codes.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.siteoly.com/advanced/restrict-detailed-pages-access-with-access-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
