I have implemented my router framework where I basically use a lookup table to tell what the url will be.
My original urls which had some ugly stuff like domain.com?id=26 for example, will now have: domain.com/words-that-look-nice
But my question is: If all the pages will be looked up and redirected to, the actual HTML markup will be in 1 file called my_page.php - correct? The only difference will be that my_page.php will appear differently to the user depending on the item being looked up, correct?
If so, then how do I do this "masking" of the url ??
I mean, once I know what the url will be, how do I make the page my_page.php serve all the data for that particular page that is looked up?
Thanks and sorry if question is convoluted :)