Force User Login
v1.0smatric · 2011年11月9日 上架
A very small plugin that forces users to login to view blog content.
- 正在使用
- 40+
- 评分
- 暂无
- 累计下载
- 9,353
- 最近更新
- 2015年8月29日
需要 WordPress 2.0.2+已测试到 4.3.34
贡献者
This is a very small plugin that forces users to login before viewing any content. This is done by checking if the user is logged in, and if not, redirecting them to the login page. Users attempting to view blog content via RSS are also authenticated via HTTP Auth.
Modification: use get_site_url() to redirect to the login page properly when WordPress is located in a subdirectory.