...

/

Create a Router for our Project

Create a Router for our Project

Redirect HTTP calls to “index.php” with the help of the “.htaccess” file.

We won’t be creating something sophisticated here, just a basic routing system for our application.

In a nutshell, we’ll:

  • Redirect all the HTTP requests to index.php (the
...