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
+1 received by user: 4

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
+1 received by user: 557


  #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.




nzwhiffy

29 posts

Geek
+1 received by user: 4

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
487 posts

Ultimate Geek
+1 received by user: 182


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

What are you trying to achieve?




kobiak
1615 posts

Uber Geek
+1 received by user: 551

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
20858 posts

Uber Geek
+1 received by user: 5350

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
974 posts

Ultimate Geek
+1 received by user: 533

Trusted
Prodigi
Subscriber

  #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.


 
 
 

Want to support Geekzone and browse the site without the ads? Subscribe to Geekzone now (monthly, annual and lifetime options).
nzwhiffy

29 posts

Geek
+1 received by user: 4

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
+1 received by user: 4

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








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.