Thank you for the feedback, is nothing happening?
This function my_template_redirect()
redirecting from home page to page /wp-login.php?redirect_to=...
(without login)
I can’t open home page. And when I’m trying to login, still opening page /membership-account/membership-levels/
(you can check it).
You need to know that for admin everything working good by default. You need test it for simple user.
Have you tried creating a redirect using TML or the other add-on mentioned earlier?
TML is changing my “theme friendly” login page to ugly /login
(and i can’t delete that page).
After login I redirected to /login
page (despite i changed rules for “simple user” role).
I’m not sure that plugin is compatible with BuddyPress.
Can you just say me how i can disable redirect in source code?
Is this file /wp-content/plugins/paid-memberships-pro/preheaders/account.php
?
Or can you add that function in PMPro plugin settings?
-
This reply was modified 8 years, 2 months ago by
AiratTop.