D
D
Dmitry Zorin2017-09-21 13:15:22
MySQL
Dmitry Zorin, 2017-09-21 13:15:22

How to link two wordpress sites to the same database with common tables?

There is a site on wordpress - site1.ru - table prefix wp_1
There is a site on wordpress - sub.site1.ru table prefix wp_2
They have one mysql base, table prefixes are different.
All wordpress records are stored in mysql in the post table
. The first site has wp_1post, the second has wp_2post
Question - how to make both sites take records from only one table?
That is, I want to delete wp_2post and link sub.site1.ru to the wp_1post table.
Is it possible to do this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question