I am self learning php and started some coding for a web portal. I would like to develop the portal with url that should look like index.php?page=dashboard. If i put the dashboard.php in browser, it should not be displayed.
Queries that i have.
1.how to program to use pages like index.php?page=dashboard rather that having seperate php files like dashboard.php
- How to make the url look like from www.example.com/index.php?page=dashboard to www.example.com/dashboard