Very small plugin that forces users to login to view blog content.
|Author:||The Integer Group Development Team (profile at wordpress.org)|
|WordPress version required:||2.0.2|
|WordPress version tested:||2.1|
|Added to WordPress repository:||26-01-2009|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||18 195|
Click to start download
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.
Can I change where the user is redirected after logging in?
Yes! A variable called $redirect_to (line 33) is currently set to redirect the user to the page they were trying to access. If you changed that line from
$redirect_to = $_SERVER['REQUEST_URI'];
$redirect_to = '/';
it would redirect the user to the home page.