Forums

Share post table between two installations (1 post)

  1. Segia
    Member
    Posted 7 months ago #

    Hello everybody,

    I'm running two WordPress installations on the same server.
    Site 1: A combination of my blog and portfolio.
    Site 2: Just my portfolio, with generally a more professional feel to it.

    The two sites share the same database, with Site 1 using the blog_ prefix and Site 2 using the pf_ prefix.

    I am looking for a way to have Site 2 use the blog_posts and blog_postmeta tables, while still using the pf_ prefixed tables for everything else. That way, my posts automatically synchronize from Site 1 to Site 2, and all I have to do on Site 2 is hide the posts in the blog category.

    This is already possible for sharing users, as define('CUSTOM_USER_TABLE', ', ) allows you to choose an alternate table for your users. My question is; does a similar solution exist for posts?

    Kind regards and thanks in advance,

    Segia

Reply

You must log in to post.

About this Topic