php - How to dynamically switch databases at loadtime in Wordpress? -


what i'd have 2 or more wp databses under same instalation, each own posts, , dynamically switch between them @ loading time.

for example, instead of directly plugging wp when visitor loads site, first run php script geo-location , based on script's result tell wp database load up.

i know switch_blog understand it's backend technique it's expensive run on front-end.

thanks


Comments

Popular posts from this blog

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -

c - sscanf() double showing zeros -