Members Only Page Using Header Snippet
The following provides a HTML snippet that must be placed in the <header> section of the page. This can be used on SquareSpace and Weebly blog pages to make those pages member only.
This code snippet will not display a login box or error message on the page. Instead you must provide 3 URLs for us to redirect users who do not meet the criteria for accessing the page:
- Users who are not logged in
- Members whose membership has expired
- Members who do not have the required labels/folders
You must provide all 3 URLs (including http: or https: prefix) or those users will see a blank screen. All 3 URLs can point to the same page, but it may be desirable to create 3 different pages on your site so you can customize the message on the page for the 3 conditions.
Note: Previews for the page may not work properly. Use a different browser (where you are not logged into Squarespace/Weebly/etc) to view the actual site.