block all pages for visitors

This topic contains 2 replies, has 2 voices, and was last updated by Avatar Fernando Fernando 2 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10004732
    Avatar
    Fernando Fernando
    Participant

    What should I do to unregistered users can not access if they know the URL pages? Pie register form only blocks the main page but not the rest of the subpages

    thanks!

    #10004735
    Avatar
    Pie Register
    Keymaster

    Hello,

    This is out of PR scope, however, one can easily manage this if they know programming. You can create a function in your theme’s functions.php that checks for the logged in users if not then redirect to a specified URL. Simply hook this function into the appropriate WP Hook and you’re done.

    Hope it helps.

    Best

    #10004736
    Avatar
    Fernando Fernando
    Participant

    okkk! Thanks! 😀

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Pie-Register 2.0 Support’ is closed to new topics and replies.