WordPress.org

Plugin Directory

!This plugin hasn't 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.

Force User Login

Very small plugin that forces users to login to view blog content.

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'];

to

$redirect_to = '/';

it would redirect the user to the home page.

Requires: 2.0.2 or higher
Compatible up to: 2.1
Last Updated: 2009-1-27
Active Installs: 1,000+

Ratings

5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,3,3
0,1,0
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
0,1,0
100,2,2
0,1,0
100,1,1
100,1,1
100,1,1
100,1,1