To do a logistics platform website involving regional switching there is no design idea to solve?

http://www.chinawutong.com/

http://beijing.chinawutong.com/

just like the website above, you can switch directly to the local sub-station on the main station. After the switching, the information and the delivery place are all the places after the switch

.

seek design ideas


cookies record the selected city
explode ('.', $_ SERVER ['HTTP_HOST']) find the corresponding city


tell me your own way of thinking, first of all, domain name universal resolution!
after the request, get the prefix to find the corresponding city according to the prefix!
if there is data rendering, skip to the master station or prompt that the city is not open

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32d1e-2be5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32d1e-2be5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?