Forum Moderators: phranque
I am trying to do the following:
[city-name.state.example.com...]
rewrite to:
http://www.example.com/state/city-name/
Slowly but surely I am starting to understand the difference between $1 and %1, but how do I parse out the city-name and state from the incoming URL?
Welcome to WebmasterWorld!
This search [google.com] should get you started; There are many examples posted here. Also, see the references cited in our forum charter [webmasterworld.com].
Jim
I omit the [L] at the end because I have other rewrites further down that handle the /state/city-page URL's.