There’s a new settings page in your Dashboard > Settings where you can set this.
Thread Starter
dregad
(@dregad)
Thanks for responding so quickly.
I did try that actually, but that does not seem to work unfortunately.
Login Redirect URL is set to https://mysite.com
, yet after login it goes straight to the back-end instead of the home page.
Ideally, if I click the login menu when I’m on https://mysite.com/page1, I’d like to be redirected there and not to the site’s root.
EDIT: and logout takes me to the login page instead of the site’s root (Logout Redirect URL is likewise set to https://mysite.com
).
Note that I also tried several variants, e.g. /
, index.php
, etc with the same results, so for some reason these settings are not doing anything for me.
-
This reply was modified 3 years, 1 month ago by
dregad.
Try logging in as a Subscriber user, instead of as an Admin and see if it works. If not, you might have another plugin overriding the login redirect.
Thread Starter
dregad
(@dregad)
I confirm that if I login with a non-Admin profile, I am effectively redirected to the page configured under Settings.
I do not understand why there is a different behavior for Admins, would it be possible to make that configurable ?
Also, it would be really nice to have a way to redirect to the currently active page, instead of being limited to a static page in the config.
Thread Starter
dregad
(@dregad)
In the end I decided to use another plugin which better fit my purposes (User Menus) as it also allows restricting access to menu items based on user roles (allowing me to also replace the Nav Menu Roles plugin).
Many thanks for your support.
I’ll post in a separate thread, my efforts towards adding a config to choose where to redirect admins in case you want to integrate that in a future version.