I am developing a site with user accounts. The URL for each is along the lines of:
www.site.com/profile.php?user=ChanceM
But, I was wondering if there was another way to send values through the URL and grab them with PHP with a URL more like this:
www.site.com/ChanceM
Or:
www.site.com/profile.php/ChanceM
I was just wondering if this were possible, because remembering the first URL isn’t very user friendly. Thanks!
For Apache yes – You need to look through the manual pages for rewrite rules. The link will tell you how to do this. Also look through the Apache documentation.
As for other servers I do not know.