I would like to know how can i block certain paths for users EXAMPL:
https://hardstyleunited.com/users
I don't want our users to access this URL with all the users in one page. Can I disable this.
//Dirk
I would like to know how can i block certain paths for users EXAMPL:
https://hardstyleunited.com/users
I don't want our users to access this URL with all the users in one page. Can I disable this.
//Dirk
Already removed it. But if you still use this path you can access it. I don't even want registered members to see this page. I need to end up on a "this page does not exist"
#Redirect a sub folder to another siteRedirect
301 /users https://hardstyleunited.com/
this will make sure its redirected to main page. Not the preferred solution since the site admin cant access it. But it works right :). The solution you gave Defender works like a charm but still registered users are able to access this page. I dont want anyone access this page except site admins. So maybe we can add "admin" in or how to define the admin user.
if ( !OW::getUser()->isAuthorized('base', 'view_profile') )
{
$status = BOL_AuthorizationService::getInstance()->getActionStatus('base', 'view_profile');
$this->assign('authMessage', $status['msg']);
return;
}