简体   繁体   English

多个不同的wordpress登录用于单独的页面

[英]multiple different wordpress logins for separate pages

I'm trying to achieve the following with wordpress: 我正在尝试通过wordpress实现以下目标:

some url like www.somesite.com 一些网址,例如www.somesite.com

I want to password protect different sections of the site and only allow certain users to access certain pages (I would manually set Username and Password) 我想用密码保护网站的不同部分,只允许某些用户访问某些页面(我将手动设置用户名和密码)

example: 例:

www.somesite.com/project1 would have a login to access that content www.somesite.com/project2 would have a different login and wouldn't be able to access project1 www.somesite.com/project1将具有访问该内容的登录名www.somesite.com/project2将具有不同的登录名,并且将无法访问project1

...and so on and so forth ...等等等等

any ideas? 有任何想法吗? I've looked at password plugins but haven't found anything quite right yet. 我看过密码插件,但还没有找到合适的插件。

Thanks in advance. 提前致谢。

I did a quick search over on http://wordpress.stackexchange.com , and I found that there's a roles plugin that you can use. 我在http://wordpress.stackexchange.com上进行了快速搜索,发现有一个可以使用的角色插件。 Have you considered this? 你有考虑过吗? Here's a link: 这里是一个链接:

im-web-gefunden.de/wordpress-plugins/role-manager im-web-gefunden.de/wordpress-plugins/role-manager

You could use HTTP authentication for that purpose. 您可以为此目的使用HTTP身份验证。 You should configure it using your web hosting panel or htaccess file (there are many examples in the web). 您应该使用网络托管面板或htaccess文件对其进行配置(网络上有很多示例)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM