[Resolved] Redirect is still a problem. Woocommerce referred back to Toolset.
This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
2 user roles (Industry and Pending Industry) both go to "/my-industry-account/" instead of /my-account/. Other user roles redirect to /my-account/
Woocommerce sent my back to toolset saying that there must be some kind of user role capability connected to those user roles that are "customer". I've spend hours looking for this and can't find anything associated with "customer".
I'll look into this some more. I have access to your site to perform some more checks, and if needed I can take a copy of the site to install locally for some deeper debugging.
I installed a bare bones copy of your site locally, and I don't see the issue—at least I don't think I do.
If I'm logged out and visit the my-account page and log in with the credentials of a user that has the "Industry" role then I get redirected back to the My Account page, which is what is intended, right?
I only have Toolset plugins active together with WooCommerce, as well as the twentytwenty theme.
In the previous thread you didn't answer the question about testing to eliminate conflicts, so let me paste that again here...
Do you have a staging site for testing?
Can you confirm if the same happens in a minimal environment? That is, with all non-Toolset plugins except WooCommerce disabled, running a standard theme such as twentytwenty, and with any custom code disabled.
That would help eliminate the possibility of some conflict with other code causing the problem, and if that's the case you can use a process of elimination to identify the source of any such conflict.
I disabled everything except Views on that staging site, switched theme to twentytwenty and deactivated the custom code snippets.
I'm having problems getting the redirects to work at all; when I use the Views shortcode for the login form I end up in the WordPress backend every time, the redirects don't work at all.
I need to keep digging. I may need to get some feedback from the relevant developer; they are off today, back on Monday.