🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
F

Force User Login

0/5 (0 ratings) 40 active installs Updated Aug 28, 2015

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.