Hi Dave,
The “Private Site” feature uses the auth_redirect()
function to perform the redirect. That function is filterable itself, but we don’t have a custom filter for this.
Hi @caseproof – I have this same need – I wonder if you might consider adding a simple ‘redirect to other URL’ instead of to the wp-login page in a future update?
We use this plugin to lock down a site to only employees as our team portal, and absolutely do not want the wp-login page accessible (it gets too many bot hits trying to hack in), so we use another plugin (Block WP-Login) to create a custom login URL that we give only to employees authorized to login.
So when someone tries to access our website, I don’t want them directed to a Login Page, I want them to go to a Page that says something like “Sorry you must be authorized – please see your Supervisor to get login credentials”. If they are logged in, they’ll get the Portal home page with menu options.
Without the ability to redirect all non-logged-in users, I have to triple-check to be sure all newly created posts and pages are limited by role…..it would be nice to check 1 box in the Plugin’s Settings and enter a URL.
Thank you in advance for considering it!