Jump to content

Way to make site visitors have to login before viewing a page

Recommended Posts

I'm trying to make it so that my website visitors have to login before they can view/interact with a certain page.

 

I tried multiple ways, but the one I went the farthest with is making two buttons, one linking to account login and one linking to the page I want logged in accounts to view. I thought to put one button on top of another and if there's some kind of code or way to make the top button disappear after clicking it so the bottom button remains that'd be perfect. If not, please advise me a different way to achieve my desire feature. Thank you!

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

2 hours ago, yessuu said:

I'm trying to make it so that my website visitors have to login before they can view/interact with a certain page.

 

I tried multiple ways, but the one I went the farthest with is making two buttons, one linking to account login and one linking to the page I want logged in accounts to view. I thought to put one button on top of another and if there's some kind of code or way to make the top button disappear after clicking it so the bottom button remains that'd be perfect. If not, please advise me a different way to achieve my desire feature. Thank you!

Are you using Squarespace member area?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.