Forum Moderators: phranque
I'm rewriting the URL's inside the php aplication
RewriteRule ^([^/]+)/$ platforms.php?platform_id=$1 [L,QSA] is it possible to also pass the platform_id in the URL, but masked in some way?
I have in httaccess:
RewriteRule ^([^/]+)/$ platforms.php?platform_id=%1&platform_name=$1 [L,QSA]
When I go to the above example in GET I have:
platform_id=&platform_name=xbox
So I'm not sure if %1 is correct in order to also pass that ID.
[edited by: bill at 8:12 am (utc) on Aug 5, 2013]
[edit reason] fixed typo [/edit]
Before URL:
www.example.com/platforms.php?platform_id=1&platform_name=xbox
To have it rewritten to
www.example.com/xbox/