WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Connecting to a remote WP installation (6 posts)

  1. Jon Bourne
    Member
    Posted 7 years ago #

    I have two WP installs running on separate servers. I want to connect to and display posts from one from the other. What is the best way to do this? I would like to use all the template tags available for templating the posts from the remote blog.

  2. Chris_K
    Member
    Posted 7 years ago #

    There are a bunch of Syndication plugins that will do what you're looking for.

    Have a look at the link, it sounds like you want something that will pull feeds from one blog and post 'em.

  3. Jon Bourne
    Member
    Posted 7 years ago #

    No, that's not what I'm looking for. I don't want to duplicate the posts. I want to display the posts based on the tags (UTW) that are associated with them. I am searching these posts' tags remotely and retrieving the posts' IDs. With the IDs, I would like to pull the posts from the remote blog using get_post(). Obviously, this won't work, though, because get_post() is designed specifically to retrieve posts from the local blog.

  4. vkaryl
    Member
    Posted 7 years ago #

    On top of that, if this is on separate servers, you're likely to run into the open base_dir restriction.

  5. MattRead
    Member
    Posted 7 years ago #

    use XML-RPC. ;)

  6. Jon Bourne
    Member
    Posted 7 years ago #

    I've never used XML-RPC. Honestly, I don't really even know what it is.

    I just pulled the posts out directly from the database with customized SQL queries--without using the WP API.

Topic Closed

This topic has been closed to new replies.

About this Topic