admin-plugins author calendar category facebook post rss search twitter star star-half star-empty

TIDY REPO

The best and most reliable WordPress plugins

Free

Please read! This plugin has not been updated in over 6 months. It may no longer be maintained or supported. There may be compatibility issues when used with the latest version of WordPress. We suggest finding a similar, alternative plugin. Learn more about outdated plugins.

Private Content Login Redirect

Plugin Author: Kumar Abhisek

Jay Hoffmann

March 30, 2015 (modified on May 26, 2018)

Admin, Users

If you’re running a site with a lot of private pages, it can be a bit unwieldy to point users in the right direction. Private Content Login Redirect takes care of that for you, redirecting guest users to the login page whenever they stumble on private pages.

What’s it Do?

Quite simply, whenever a user who is not logged in visits one of your private pages (pages or posts that you have published as “Private”), they will be redirected to a log-in page. The default behavior is for users to see a 404 page, which can be a bit confusing. Private Content Login offers a bit of a better user experience, especially for membership sites.

And that’s it.

How’s it Work?

Whenever you publish a post or page, regardless of post type, you can mark a post as private by setting the “Visibility” in the Publish meta box to Private. A private post means that only logged in users will be able to actually view a post. With Private Content Login Redirect set up, guest users (users not logged in) trying to access these pages will be automatically redirected to your login page.

Setting it up is about as easy as activating the plugin. Once you’ve done that, it will just start working. If you want to turn the functionality off, you can deactivate the plugin.

Costs, Caveats, Etc.

Private Content Login Redirect is a free plugin, hosted on WordPress.org. There’s been a couple of changes, mostly to fix some small bugs and keep up with computability of the latest version of WordPress. Other than that, if you happen to spot a problem, you should visit the support forums.

Resources

Did you like this plugin?

Plugin Info
  • Downloads: 13,096+
  • Downloads trend (30d): +8.2%
  • Active installations: 2,000+
  • Rating:
  • Last Update: September 13th, 2016
  • Download Plugin for Free