redirect not working unless I add home page as allowed.
-
Hello. Seems that config wont work unless I add ” into the array. When I do this all my restricted pages then are visible to non-members.
here is my config:
`MM_BUDDYPRESS_PRIVATE_COMMUNITY::$ALLOWED_URIS = Array(”,’/about’, ‘/members-only’, ‘/s/*’, ‘/register’);
MM_BUDDYPRESS_PRIVATE_COMMUNITY::$REDIRECT_TO_URL = site_url() . ‘/members-only’;
$REDIRECT_HOOK = ‘hellomember’;
MM_BUDDYPRESS_PRIVATE_COMMUNITY::$REDIRECT_HOOK = ‘/activity’;
`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘redirect not working unless I add home page as allowed.’ is closed to new replies.