Login redirect on multisite
This topic contains 14 replies, has 4 voices, and was last updated by joecam 7 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
May 8, 2018 at 1:54 pm #2181
Hello,
It is installed as per your Multisite Install directive (Network Activation for All Sites – UsersWP Pages on All Multisites); Network activated, and the define(‘UWP_ROOT_PAGES’, all); added to the wp-config.
I have a static page where users should be redirected each time they login, so the following is set:
UsersWP Settings -> Login Redirect Page -> The Static Page is SelectedRegistration is set to to: Require Email Activation
When a new user register on the subsite, he got the confirmation link, and when he confirms it and login to the site, the redirect works as expected, landing on the selected page.
But when the user log-out and log back again, the redirect not works anymore and redirected to the homepage, not the selected static page.
The registration and the login pages created with short-codes in content, [uwp_register] and [uwp_login].
I already tried to disable all snippets, plugins and leave only uswersWP and GD enabled, but have the same issue.
How can I find the problem, or force it to be redirected on every login to the selected static page?
Thank you,
May 9, 2018 at 7:21 pm #2215Sorry for the delay… A developer has been alerted- Please provide a link and admin credentials in a private reply so that we can do some testing if needed.
Thanks!
May 9, 2018 at 9:09 pm #2217This reply has been marked as private.May 9, 2018 at 9:23 pm #2218Could you detail the steps to reproduce the error?
Specifically an example of a `a normal login page’
URL?May 9, 2018 at 9:30 pm #2219This reply has been marked as private.May 10, 2018 at 12:21 pm #2227This reply has been marked as private.May 10, 2018 at 12:26 pm #2228This reply has been marked as private.May 10, 2018 at 12:47 pm #2229Hello Joecam,
Can you please confirm the FTP credentials? I can’t login into that from my side. I want to have a look into the code for debug purpose.
Regards,
PatrikMay 10, 2018 at 1:14 pm #2230This reply has been marked as private.May 11, 2018 at 7:24 am #2236Currently, we are providing first priority to last visited page. So if someone will visit login page from any other page of the site then after success full login it will redirect to last visited page. We will fix this with some other solution in next release of the plugin.
If you don’t want to wait for next release and want to redirect them to the page set in the login redirect settings then let us know and we will fix it for you.
Regards,
PatrikMay 11, 2018 at 5:37 pm #2237Hey Patrik,
Thank you so much for your information.
Do you have any schedule for the next release? I just opening up my sites, so that may be too late, but if you willing to release the next version soon, then i don’t want to ask an extra task from you side…
Or, if i can use your repo and this feature can be found there, i can implement it…
Honestly, i would need this function asap..
Thanks,
JoeMay 14, 2018 at 7:39 am #2263We recently released the latest version and it will take some time to release the next version. We can do the required changes on your site. It will be no extra tasks for us, it is a part of our support. Let me know your inputs.
Regards,
PatrikMay 14, 2018 at 7:52 am #2264Hi Patrik,
Thank you for your feedback, and based on your input i would be happy to get the changes on my site as I would need this redirect function. Please apply the changes.
Thank you!!!
May 14, 2018 at 1:38 pm #2273Hi Joecam,
I have made the changes in core UWP plugin for login redirect. Please review it and let us know how it goes.
Regards,
PatrikMay 14, 2018 at 2:04 pm #2274Thank you Patrik!!!!
First test looks great, if any trouble will come up i will let you know…
Thank you again!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket