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

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -