Till now I have been using GET variable which is passed to the URL when a link/button is clicked, then index.php
page loads that page.
eg- by default website loads index.php
page and it includes header.php
, home.php
, footer.php
; when about us button is clicked, GET variable ?page=aboutUsis passed to URL and then
index.phpincludes
aboutUs.phpalong with
header.phpand
footer.php`.
But I don't want get variable to be passed, instead I want url to be like .../home/
and .../aboutUs/
Is there an alternative way?