WordPress.org

Forums

[resolved] Merging WP installs—best method? (10 posts)

  1. jpcody
    Member
    Posted 5 years ago #

    So I'm redesigning our company's homepage, and then our blog, and this is my first larger project using WP without a WP guru to help me. As of now, this is the setup:

    • The blog is live at domain.com.
    • The home page redesign is live on a development server.

    And where I need things to get are:

    • The blog is live at domain.com/blog
    • The home page is live at domain.com, with correct links to entries, which now would live at domain.com/blog.

    Is the best way for me to do this to move the entire blog WP install to a subdomain and have two instances? To simply do an export/import and add the requisite templates and CSS from the old WP instance to the new WP instance?

    Something altogether different?

  2. MichaelH
    Member
    Posted 5 years ago #

    Aren't you saying need to move blog from domain.com to domain.com/blog?

    If so review Moving WordPress and Changing_The_Site_URL.

    Also note that domain.com/blog is not really a subdomain but a subdirectory. A subdomain would be like blog.domain.com

  3. jpcody
    Member
    Posted 5 years ago #

    Thanks so much, Michael.

    I'm sorry, I do mean subdirectory. And yes, I need to get domain.com to domain.com/blog, but is the simplest way to do this to move the entire install? Should I just transpose everything from the current domain.com to the new domain.com/blog?

  4. jpcody
    Member
    Posted 5 years ago #

    And if I do that move, how would I successfully get the links dynamically generated from one install to another?

  5. MichaelH
    Member
    Posted 5 years ago #

    After doing the move install the Search and Replace plugin and replace old URL with new URL.

    http://wordpress.org/extend/plugins/search-and-replace/

  6. jpcody
    Member
    Posted 5 years ago #

    Thanks so much, Michael, gonna give this a shot.

  7. jpcody
    Member
    Posted 5 years ago #

    All right, I seem to have hit another brick wall. So I've got the previous blog successfully moved to domain.com/blog and the new site at domain.com.

    I think I might have been unclear about something, though.

    For the time being, I'm looking to allow people to continue posting and blogging at domain.com/blog and syndicating that to domain.com.

    Since there are two separate WP installs, it doesn't seem like I could successfully run query_posts from one install to another. I don't know how to generate these results. Will I simply have to parse them out using PHP and XML?

  8. jpcody
    Member
    Posted 5 years ago #

    On second thought, it doesn't look like I can get the WP data as XML to parse it. Any more suggestions?

  9. MichaelH
    Member
    Posted 5 years ago #

  10. jpcody
    Member
    Posted 5 years ago #

    Got it all, thanks for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags