That’s how the plugin works already. If it doesn’t, then please let me know.
Hi Mark, quick reply!
No that’s a problem I encounter now.
I have the following structure:
WP multisite.
https://sitename.nl/
https://sitename.nl/building01
https://sitename.nl/building02
The site is in maintenance mode with a plug-in but when logged in the users can see the front-end.
User01 has only access to site https://sitename.nl/building02
He has the role of subscriber.
When user01 logs in with https://sitename.nl/wp-login.php he is redirected to https://sitename.nl/building02/wp-admin/
I want him to be redirected to https://sitename.nl/building02/
Hopefully this is clear to you, I am sorry but English is not my native language.
Ah, I see your problem. When a user logs into WordPress, the user is usually directed to /wp-admin/. This plugin does not change that.
You need to use a different plugin to redirect a user to the “frontend” of the website when they log in. Check out the WordPress filter login_redirect
to see examples of how to do that.
Thanks Mark, with your ideas I Googled and searched and tried several plug-ins. With the plug-in “Remove Dashboard Access” which can also redirect I could solve the problem.
After logging in the user is redirected tot the front-page of the specific site.
Great!