最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

private - Assign a username and password to specific users

matteradmin7PV0评论

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
Add a comment  | 

1 Answer 1

Reset to default 0

Yes, 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.

Post a comment

comment list (0)

  1. No comments so far