Reputation: 3
I have a classified website and I am using a single script for each city and Im looking to use one script that will allow users to switch cities. If this is possible please let me know any help would be greatly appreciated Thanks :)
Upvotes: 0
Views: 190
Reputation: 838346
Yes, it's possible. Here are a few example approaches:
?city=foo
to the URL. This parameter can be read by the script.http://yoursite.com/foo/
and use some URL rewrite magic to ensure that the same script gets all the requests.Upvotes: 2