How to create directory like urls for each page on a website

babupathan

New Member
I have a content site that spreads across multiple pages but there is only 1 index.php file which retrieves the data from the database based on the page no.Currently the url direction has to be something like \[code\]domainname.com/Page/content.php?page=3\[/code\]I have noticed, quite a few sites have directory like structure for the urls like:\[code\]domainname.com/Page/3\[/code\]I know how to change it to \[code\]domainname.com/Page/?page=3\[/code\] but I am looking to remove the \[code\]?page\[/code\] part.How can I do this, without individually creating a directory for each page, the content keeps growing, hence changes for each page.Thanks
 
Back
Top