Having a single page in my WordPress, load data from an external WP installation.
I have tried installing an extra WP instance in a subdirectory with the wp-config being the same as the external site (DB_NAME/DB_USER/DB_PASSWORD/DB_HOST) and then
wp1 being the local install with its own database, and external using its own wp-config.php
This works SOMEWHAT ok..
However, many things are configured inside wp-options table that dosent really workout for me.. appaently when I update WP settings for the WP1 or on the external, it also happens at the same time on the local. Whatever plugins are installed on WP1, MUST also be installed on external, or they are automatically disabled on WP1 ..?
Whenever I change something on the local, its updating the wp-options table on the remote and makes life hard.
What I really “just” want is a page in my site, that uses an external WP installations database. (making raw mysql commands isent enough, as i need commenting and propably other functions available.)
Is there a way to override the WPDB, inserting another DB than the wp-config enabled for PAGE templates?
Or is there another solution im overlooking?
- The topic ‘using alternative wpdb (connecting a page template to external db)’ is closed to new replies.