A plugin for Wordpress that redirects users to the login page whenever they try to visit any page/post/etc on the blog.
A simple plugin for WordPress that redirects users to the login page whenever they try to visit any page/post/etc on the blog, with an option menu to turn this functionality on or off. When enabled, the entire blog essentially becomes a private blog.
In addition to the subversion access that WordPress is providing, this plugin is available through git at GitHub.
wp-require-login.php
to the /wp-content/plugins/
directoryOnce the plugin itself is installed, navigate to the ‘Require Login’ Settings menu, check the lone checkbox, and click ‘Update Options’.
I personally wrote this for a WordPress installation in early 2008. When I revived it a few days ago, I did have to make some changes. In all honesty, it should work with 3.2 onwards, or on even earlier versions with the Settings menu portions removed from the code. I’m only listing 3.3.0 since this is the earliest version I can guarantee it works with.
Please report the bug on our issue tracker at GitHub.