Sauter la navigation

[Résolu] 1 User role not redirected to "My Account" – 2 others are

This support ticket is created Il y a 4 années et 4 mois. 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par MargeP6083 Il y a 4 années et 4 mois.

Assisté par: Nigel.

Auteur
Publications
#1749085

I have multiple user roles who use the /my-account/ to login and should redirect to the same page.

lien caché

Users who have Pending Industry and Industry roles are re-directed to the Woocommerce account page: lien caché. I can't override or remove this behavior.

Other 2 roles, talent and casting roles, are able to login and redirect correctly to /my-account/.

Is there another setting I am missing?
Thank you!

#1753295

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Marge

I visited your site, and see the key part of the my-account page is this log-in link for guests:

[wpv-login-form redirect_url="<em><u>lien caché</u></em>"]

Looking at the roles (at Toolset > Access > Custom Roles) I can't see anything that would account for the difference.

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.

#1754151

I opened a ticket with woocommerce. Thank you!