Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


nzwhiffy

29 posts

Geek

ID Verified

#270206 28-Apr-2020 14:09
Send private message

Hi pals,

 

 

 

Does anyone know any wordpress plugin to share the database for multiple websites?

 

 

 

 

 

 

 

 


Create new topic
itxtme
2102 posts

Uber Geek


  #2472826 28-Apr-2020 15:09
Send private message

Are they separate installs?  You can use a different suffix during the install, so change the wp_ to aa_ etc.


 
 
 
 

Shop now on Samsung (affiliate link).
nzwhiffy

29 posts

Geek

ID Verified

  #2473030 28-Apr-2020 20:42
Send private message

yes they are seperate installs. 

 

i can change the prefix but then the will be using different database or different tables. I wanted to share the database. It means my multiple websites can use the same database and same tables. 

 

 


marpada
470 posts

Ultimate Geek


  #2473057 28-Apr-2020 21:50
Send private message

What are you trying to achieve?




kobiak
1615 posts

Uber Geek

Trusted

  #2473075 28-Apr-2020 23:08
Send private message

Doable but you will run into trouble for user session cookie issue, cache issue, etc.

Everything is fixable but requires tuning and effort. I'd not recommend.

Google multisite WordPress. It works for some set ups, but not for another.




helping others at evgenyk.nz


timmmay
20374 posts

Uber Geek

Trusted
Lifetime subscriber

  #2473092 29-Apr-2020 07:19
Send private message

You need to tell us what you're trying to achieve rather than your proposed solution. Please also define what you mean by "share the database" - it seems you mean "use the same database tables", which AFAIK is not possible and would be a bad idea if it was possible.


danfaulknor
923 posts

Ultimate Geek

Trusted
Prodigi

  #2473102 29-Apr-2020 07:48
Send private message

You can do it, but you probably don't want to. As others have said, we need context.

 

 

 

To ensure you have the same content, you could have a "master" and pull into the rest via RSS or with something like https://github.com/wp-sync-db/wp-sync-db

 

If you do desperately want all the sites using one database, there are some wp-config settings you can use to override the database for site-specific settings like name, URL etc. But still, not recommended.





they/them

 

Prodigi - Optimised IT Solutions
WebOps/DevOps, Managed IT, Hosting and Internet/WAN.


nzwhiffy

29 posts

Geek

ID Verified

  #2473308 29-Apr-2020 13:07
Send private message

danielfaulknor:

 

You can do it, but you probably don't want to. As others have said, we need context.

 

 

 

To ensure you have the same content, you could have a "master" and pull into the rest via RSS or with something like https://github.com/wp-sync-db/wp-sync-db

 

If you do desperately want all the sites using one database, there are some wp-config settings you can use to override the database for site-specific settings like name, URL etc. But still, not recommended.

 

 

 

 

I just want to have a single login for all my admins. But its not just that i also want to login at one place to get all my woocommerce orders ;)

 

 

 

 




nzwhiffy

29 posts

Geek

ID Verified

  #2473309 29-Apr-2020 13:09
Send private message

nzwhiffy:

 

danielfaulknor:

 

You can do it, but you probably don't want to. As others have said, we need context.

 

 

 

To ensure you have the same content, you could have a "master" and pull into the rest via RSS or with something like https://github.com/wp-sync-db/wp-sync-db

 

If you do desperately want all the sites using one database, there are some wp-config settings you can use to override the database for site-specific settings like name, URL etc. But still, not recommended.

 

 

 

 

I just want to have a single login for all my admins. But its not just that i also want to login at one place to get all my woocommerce orders ;)

 

 

 

 

 

 

 

 

you are right i think better not to ;)

 

I might right a custom script to synch my wp users and woocommers order tables. This way whereever i login i will get same orders. I think that is easy instead of sharing everything.

 

 

 

cheers!


Create new topic





News and reviews »

Synology DS925+ Review
Posted 23-Apr-2025 15:00


Synology Announces DiskStation DS925+ and DX525 Expansion Unit
Posted 23-Apr-2025 10:34


JBL Tour Pro 3 Review
Posted 22-Apr-2025 16:56


Samsung 9100 Pro NVMe SSD Review
Posted 11-Apr-2025 13:11


Motorola Announces New Mid-tier Phones moto g05 and g15
Posted 4-Apr-2025 00:00


SoftMaker Releases Free PDF editor FreePDF 2025
Posted 3-Apr-2025 15:26


Moto G85 5G Review
Posted 30-Mar-2025 11:53


Ring Launches New AI-Powered Smart Video Search
Posted 27-Mar-2025 16:30


OPPO RENO13 Series Launches in New Zealand
Posted 27-Mar-2025 05:00


Sony Electronics Announces the WF-C710N Truly Wireless Noise Cancelling Earbuds
Posted 26-Mar-2025 20:37


New Harman Kardon Portable Home Speakers Bring Performance and Looks Together
Posted 26-Mar-2025 20:30


Data Insight Launches The Data Academy
Posted 26-Mar-2025 20:21


Oclean AirPump A10 Portable Water Flosser Wins iF Design Award 2025
Posted 20-Mar-2025 12:05


OPPO Find X8 Pro Review
Posted 14-Mar-2025 14:59


Samsung Galaxy Ring Now Available in New Zealand
Posted 14-Mar-2025 13:52









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







Backblaze unlimited backup