I want to require login for a single page, not the entire website.

Avatar
  • Answered
I want to require visitors or existing members to login with their email address before visiting a particular page. The rest of the website is open. Is there a way to do that?
Avatar
Scott
Hello, Yes, you can certainly place the code for the login on a single page. It will work the same as for the entire website, except you only need to put the check on that single page. This is the way you want to do it if each person has their own login. If you have a single password for access to that page you can do it via htaccess. Kindest Regards, Scott M
Avatar
liuyingwuridie
What kind of website do you have? If wordpress, then things are easy. Simply install a plugin. If not, then please tell us more details