WPPB redirects logged in users to login page instead of showing content
-
I am using free version of Profile Builder v3.11.4 with WP 6.4
i have a page that is restricted and only visible to logged in users, lets call it simply “Restricted Page”.
when user navigates to the Restricted Page via bookmark or copy&pasting link into URL bar, they get redirected to login page. login page has wppb_referer_url in URL and looks like this https://[site_url.com]/member-login/?wppb_referer_url=https%3A%2F%2F%5Bsite_url.com/Restricted_Page_url%5D
once user logs in, they are not redirected to the Restricted Page, instead they are just redirected to the home page.but when user tried to access the Restricted Page again (now they are logged in), they are once again get redirected to member login page, therefore making restricted page completely unaccessible.
i have tried following these instructions from a different support question posted here and added
add_filter( ‘wppb_private_website_redirect_add_query_args’, ‘__return_false’ );
but it did absolutely nothing. i tried adding it with different priorities as well.
Here is screenshot of my Dashboard -> Profile Builder -> Settings ->Private Website
i have no Profile Builder add-ons installed just basic free version.
- The topic ‘WPPB redirects logged in users to login page instead of showing content’ is closed to new replies.