Hi team,
When viewing a forum post as a guest, a login link is shown below the topic and in the profile widget.
For signing in we use a custom page (Woocommerce), which is entered at Forum Settings > Login & Registration > Custom Authorization URLs.
Now when clicking any of the login buttons/ link at the forum there is no url query added:
/?redirect_to=
The result is that after login the user is not redirected to the forum post it was viewing but to the webshop account page.
Is this a bug or intended behavior? And when intended, is it possible to add the option to redirect back to the forum post? When I manually add the URL query to our Woocommerce login page, it works.
EDIT: When the custom login url is removed, the redirect query is correctly added.
Cheers!
Hi @copilot,
This is not related to wpForo as when you use WooCommerce login, wpForo redirection functionality, which has to take the user back to the post, doesn't work there.
You have to use wpForo login fields to use wpForo redirection functionality.
And it doesn't matter where was the user before logging in, the redirection is all on WooCommerce in that case.
Hi Chris,
Many thanks for your switch reply. I am sorry for being not clear enough in my original post. The redirection functionality does work on the WooCommerce login page.
See this link to the WooCommerce login page on gVectors.
Cheers,
Tim
Thank you Chris,
I understand now that it is intended behavior and not a bug. Would it be possible for your team to add the redirect feature to the Custom Authorization URLs as well?
Cheers,
Tim