Equal Web Creative has built a number of websites and more and more there are sites that are requiring that they are only available for users that are registered and logged into the site. Looking around there were some plugins available to do this, but they seemed complicated and bloated for what was required. With this in mind we are releasing our newly created “Logged in Users Only” plugin for download.
The plugin does exactly what it says on the tin! Once activated it will mean that none of your sites “front end” pages and posts will be available for viewing unless you are a logged in user. If you are not logged into the site it will simply redirect you to the normal WordPress login page (wp-login.php) and then once you login it redirects you back to the home page of your site.
Your sites ‘Feeds’ are still available and are un-protected although this can be changed very simply by removing the is_feed() part of the plugin. It has been tested and works fine with all test, however no tests have been carried out on a Windows server environment. If someone would like to test this for us and report back here in the comments this would be appreciated.
Download the EWC Logged in Users Only Plugin here.
To install, download the file, rename the ending from .txt to .php and then upload the plugin folder to your wp-content/plugins folder and then activate it through the WordPress plugins section in the dashboard.
Thanks for David Hassen for his contribution.
