> For the complete documentation index, see [llms.txt](https://help.memberply.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.memberply.com/how-to-create-gated-content-only-for-members/restrict-non-members-from-accessing-locked-content.md).

# Restrict non-members from accessing locked content

If you have locked content that you only want members to access, please go through the following steps to add the Memberply Restrict Pages component to your store theme. This will handle checking if a member has access or not.

{% hint style="info" %}
When a non-member tries to access locked content, a popup message lets them know they do not have access. They are then redirected to another page, which you can customize.
{% endhint %}

1. In the Shopify dashboard, on the left sidebar, click **Themes**.

<figure><img src="/files/Ly0hCau8vOKwDPf5IAH6" alt=""><figcaption></figcaption></figure>

2. On the right side, click **Customize** next to your theme.

<figure><img src="/files/Mim4TrSmK1IvxtDOyYxc" alt=""><figcaption></figcaption></figure>

3. From the dropdown list at the top, select **Pages**.

<figure><img src="/files/NLBzVUoLJneycEF2KQsu" alt=""><figcaption></figcaption></figure>

4. Then select **Default page**.

<figure><img src="/files/nRSXgvOxsjSr1utrntZq" alt=""><figcaption></figcaption></figure>

5. In the left section under **Template**, click **Add section**.

<figure><img src="/files/s7IpErsO849WJkZ0wfbj" alt=""><figcaption></figcaption></figure>

6. Click **Apps** and then click **Memberply Restricted Pages**.

<figure><img src="/files/L4jes08MNxRyAbMNiKjv" alt=""><figcaption></figcaption></figure>

7. Customize **Memberply Restricted Pages** to your needs.

<figure><img src="/files/MhoOCtf8xYUgDJ27o2yR" alt=""><figcaption></figcaption></figure>

8. Click **Save** in the top right corner.

<figure><img src="/files/9BYiHZTeHPlyljq0f2zq" alt=""><figcaption></figcaption></figure>
