I have a website with a dynamic structure: for every $_GET['action']
I include a file with a different content, while the footer and the header always remain the same. example: www.mysite.com/index.php?action=service1
I would like to change this "structure" in a way:
www.mysite.com/service1/
is there a way to include the $_GET['action']
request in every folder I create?
The site in question has over 100+ $_GET['action']
and creating a page for each action would become heavy .
any advice on how to do?