I am working on a PHP-on-IIS site and I want to make dynamic pages which can be accessed by nice URLs. How can I accomplish nice URLs for each user?
To make it more clear to understand I've say users would be stored in database, and user requests page like this: http://www.example.com/user/userusername/info
, then PHP script takes that URL and sees "Someone requested info about user 'userusername'." and gives information back. Note script takes 'userusername' as variable.
I don't want you to setup databases and write whole code. I am hoping for answer to "How to make nice url to dynamic page?" I have seen Reference: mod_rewrite, URL rewriting and "pretty links" explained, but how to do that in IIS instead of Apache?