Force User Login

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

Author:Mateusz Sobczak (email: sobczak.mateusz@gmail.com) (profile at wordpress.org)
WordPress version required:2.0.2
WordPress version tested:4.3
Plugin version:1.0
Added to WordPress repository:09-11-2011
Last updated:28-08-2015
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.
Rating, %:0
Rated by:0
Plugin URI:http://URI_Of_Page_Describing_Plugin_and_Upda...
Total downloads:6 900
Active installs:60+
plugin download
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.

Modification: use get_site_url() to redirect to the login page properly when WordPress is located in a subdirectory.


FAQ
ChangeLog