admin管理员组文章数量:1415673
Is it possible that Wordpress works from two databases?
I would like the post published by web A to be reflected on web B
Web A would only affect the information in the tables
wp_postmeta
wp_posts
What I've researched is using the $wpdb Is there any way to do it? I don't know where to start
I would take your help
Is it possible that Wordpress works from two databases?
I would like the post published by web A to be reflected on web B
Web A would only affect the information in the tables
wp_postmeta
wp_posts
What I've researched is using the $wpdb Is there any way to do it? I don't know where to start
I would take your help
Share Improve this question asked Aug 22, 2019 at 17:10 juanjuan 12 bronze badges 1- What are you trying to achieve by that precisely? – trolologuy Commented Aug 23, 2019 at 11:25
1 Answer
Reset to default 0Why don't you rather try to connect 2 wordpress to the same database ? On website B you can heavily restrain the capabilities of users. This way it will be only a sort of mirror.
Another path could be to use the rest API from website A to fuel the content from website B. Have a look on api documentation: https://developer.wordpress/rest-api/
本文标签: postsa WordPress connected to 2 database
版权声明:本文标题:posts - a WordPress connected to 2 database 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745224613a2648548.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论