Hi, I see sites that use this convention.
hxxp://www.twitter.com/golem
hxxp://www.twitter.com/golem/following
I am trying to do that on my site. "golem" is dynamic and is basically the username.
So hxxp://www.mysite.com/golem would go to the golem page.
And hxxp://www.mysite.com/golem/details.php would go to the details page for golem.
The question is:
How do I make htaccess so it always adds &user_name=golem to all my php files in the query string? Without showing it in the browser address bar. So basically it needs to take the first path of the URL that has slash and add it as query to end of whatever PHP page I am looking at.
How to make it so hxxp://www.mysite.com/golem/details.php actually runs file in real location at hxxp://www.mysite.com/details.php?user_name=golem (no "golem" in path) WHILE still display the fake URL in address bar.
Make it work for other urls like hxxp://www.mysite.com/golem/page.php and hxxp://www.mysite.com/golem/view.php and etc etc
Looked at tutorials etc but cannot find answer. Appreciate any help!