- How to make the home page visible only to logged in people?
example: If the user is not logged in, a page with 2 options will be displayed with login and register options. picture:
https://i.sstatic.net/f5KlXcp6.jpg
- how to make example.php page visible only to user with vip role?
If there is no vip role, the page or message below will be displayed
(https://i.sstatic.net/TMAvagRJ.jpg)
New contributor
Eren is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1