Skip to content
  • Log In
  • Register
WordPress.org

Shona

  • Themes
  • Plugins
  • About
  • Contact
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers
Download

LH Private Content Login

By Peter Shaw
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Do you post private content? Are you sending those links to your users with private content access?

WordPress natively send non-logged in users to a 404 (content not found) page when they try to access a post, page, or cpt without rights. This plugin redirects those users to the login page. After successful login the user is then redirected back to the post, page, or cpt they were trying to access.

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

Installation

  1. Upload the entire lh-private-content-login folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

What is something does not work?

LH Private Content Login, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.

If the problem persists pleasse leave a post in the support forum: https://wordpress.org/support/plugin/lh-private-content-login/ . I look there regularly and resolve most queries.

What if I need an enhacement or feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

Reviews

Excellent

d3d5x1 June 26, 2021
Best private page to login redirect.

It works!

richardlm57 April 22, 2019 1 reply
I gave it a lower rating before, but as its developer mentioned, the real culprit was another plugin that was crashing with this. My apologies for my previous rating, and thanks for your suggest.

Perfect

valym777 April 14, 2019
THIS is exactly what I was looking for. It works perfectly. Thank you SO much for your plugin contribution, this is what makes the WordPress community awesome! Note to others: Once plugin is enabled, simply change any of your preferred posts/pages visibility to "private" and you're done. Only those that log in will be able to view that content.

Works as intended

ulikoehler October 20, 2018
Just install and activate!

Works perfectly!

abooster February 11, 2017
Works perfectly with WordPress 4.7.2. To make sure users with subscriber role can actually read your private content follow the instructions here: https://www.lifewire.com/letting-subscribers-view-private-wordpress-blog-756532 because by default only Administrators and Editors can see private posts and pages.
Read all 5 reviews

Contributors & Developers

“LH Private Content Login” is open source software. The following people have contributed to this plugin.

Contributors
  • shawfactor

Translate “LH Private Content Login” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.00 January 22, 2017
* Initial release

1.01 March 03, 2017
* Added preview login functionality

1.02 July 25, 2017
* Added class check

1.03 March 04, 2018
* Singleton pattern implemented

1.00 September 04, 2020
* Moved hooks to plugins loaded added login message

Meta

  • Version: 1.04
  • Last updated: 8 months ago
  • Active installations: 400+
  • WordPress Version: 4.0 or higher
  • Tested up to: 6.0.3
  • Language:
    English (US)
  • Tags:
    loginpost statusprivate contentredirectionstatus
  • Advanced View

Ratings

See all
  • 5 stars 5
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • shawfactor

Support

Issues resolved in last two months:

1 out of 1

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

Shona

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry.