mod_rewrite params inversion
- by Fernando Constantino
How can I create the mod_rewrite rule so I can convert the following URLs:
From:
domain/something/param/action
ex:domain/cities/Chicago/view
to:
domain/something/action.php?param1=param
ex: domain/cities/view.php?city=Chicago
Changing to cities/view/Chicago cannot be an alternative.
Thanks in advance.