Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/pimedia/private-page-login-redirect/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Redirects non-logged in visitors to a private page to the login page.
Description
Instead of non-logged in visitors being redirected to a 404 page or another page with a similar URL when accessing a private page, redirect them to the login page. After a successful login they will be redirected back to the original page they tried to access.
Changelog
1.0.0
- Initial Release