Jump to content

URL manipulation


86Stang

Recommended Posts

I've got a project where the client wants their visitors to select a city and state.  Easy. 

 

They want the visitor to go to a URL based on that selection.  They are pretty adamant that the URL looks like www.example.com/WA/Seattle.  Easy.

 

They want to use the same page layout on the resulting page regardless of which city and state they pick but the info will be specific to that city.  I don't want to create 50 folders with untold thousands of identical files to account for each city.  So, is there a way to send them to the URL as requested above but use the same .php script?

 

 

Link to comment
https://forums.phpfreaks.com/topic/186045-url-manipulation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.