Redirect to levels page when trying to access restricted page
-
For some reason when trying to visit restricted page, the page only refreshes and does not redirect to levels page. this is confusing users.
This was a fixed template in which i had to edit the core file to get the restriction to work. had to add
if (!is_user_logged_in() || !pmpro_hasMembershipLevel()){
But the problem is that the page is not redirecting to levels page when visited by non PRO member
Is there a code you can provide that will do this for me?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Redirect to levels page when trying to access restricted page’ is closed to new replies.