We need a public section to our site and a private section. For the private section we would like to assign a username and password for each user that is NOT their Wordpress username/password. Is this possible?
We need a public section to our site and a private section. For the private section we would like to assign a username and password for each user that is NOT their Wordpress username/password. Is this possible?
Share Improve this question asked Nov 22, 2018 at 20:04 DeckardDeckard 1 1- 1 Your question is pretty broad. I would recommend you edit to clarify a number of things. Is the "private section" part of WordPress or something else? Are the users WP users (sounds like they are)? Are they coming to the private section from WordPress (if it's not part of WordPress)? These are just some suggestions in terms of clarification - but really, you just need to be a little more descriptive of (1) what you're looking to do and (2) what you may have already looked into. – butlerblog Commented Nov 22, 2018 at 20:34
1 Answer
Reset to default 0Yes, there are several possible ways to do this. The easiest method is probably to use Basic HTTP Authentication using a .htaccess and .htpasswd file. Here's a site that will generate these for you. You can create separate usernames/passwords and then drop these files in the private folder. There are several guides and tutorials for this including here, here, and here.