Page 1 of 1
user redirect with assigned role is not working
Posted: Fri Oct 14, 2022 4:08 am
by hussainbsi
I have tried to redirect user to a specific page after login according to their assigned user role eg. [Admin] is not working.
I am using MySQL database.
Please help.
Re: user redirect with assigned role is not working
Posted: Fri Oct 14, 2022 6:56 am
by Pablo
To be able to help you, I need to know your exact configuration.
The software has thousands of options and millions of possible combinations, so you will need to be more specific.
Re: user redirect with assigned role is not working
Posted: Fri Oct 14, 2022 8:47 am
by hussainbsi
I have created a destination page of login eg. redirect_user.php
In this page I have inserted user redirect and assigned redirection according to the user role.
eg. [member] to x-page
[admin] to y-page
[guest] to z-page and so on.
For your information, I have also preassigned each user role through admin page.
But, when user are logged in they reach at redirect_user.php, but users are not redirected to x, y, or z-pages. It seems that user redirect not working with assigned user role.
Please help.
Re: user redirect with assigned role is not working
Posted: Fri Oct 14, 2022 9:11 am
by Pablo
There are no know issues with this functionality, otherwise it would have already been fixed.
I have been used this myself several times without any issues. So, this is most likely a configuration issue.
Do you have a demo project?
What does the database look like?
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134