Connecting databases
-
Hello,
How can we make multiple SliceWP installations on different websites use a single database? Ex. let’s say we have site1, site2, and site3 with different addresses and databases that all have SliceWP installed on them. What we are looking for is connecting all SliceWP installations on different websites and make them use the database of one website. So, each website still has its own database except the SliceWP part of the site that is connected to the SliceWP database of one site. This way the data of the SliceWP on all websites is the same.
There are multiple approaches to do this like using API, etc. But, connecting all plugins to one DB is the fastest and less resource hungry solution. So, we chose to do that.
Also, I understand that the logic for such action is finding the functions that establishes the db connections and interactions with it. But, I opened this topic so you who are the most familiar person with the plugin can give us a hint about the files and functions that are involved.Basically, I’m trying to develop an additional plugin that changes the path to the database for SliceWP without overriding the original codes.
Thank you
The topic ‘Connecting databases’ is closed to new replies.