I’m just starting to learn WordPress and development, sorry if it is a silly question. I’ve been trying to find a clear solution for my need for a while, but I couldn’t find one so far.
Let’s say I have 2 WordPress installations:
- Domain: a content website with a lot of blog posts, media, etc.
- Subdirectory: a marketplace with Woocommerce, other CPTs, payment transactions, user logins, etc.
Now, I need to be able to sync both WordPress installations to query products, CPTs and show them in the root domain.
What is the best way to do it? So far, the only solution I got is that it needs to be done via REST API… is it correct?
Also, do I really need to separate both installations or is it safe to keep everything in the root domain?
Thanks a lot in advance