WordPress.org

Ready to get started?Download WordPress

Forums

multiple subdomains merging posts (4 posts)

  1. shlinklincoln
    Member
    Posted 6 years ago #

    So I'm in the process of adding subdomains to my blog but before I get started I want to make sure my ultimate goal will not be to complicated for my noob WP skills.

    I want my homepage (shlinklincolnsports.com) to house all posts from my subdomains in order of most recent. For example I'll have subdomains wuf.shlinklincolnsports.com and rotoff.shlinklincolnsports.com. Each subdomain will house it's own blog while my home page shlinklincolnsports.com will merge all posts from all subdoamins.

    My question is in the function of merging posts from all subdomains. I assume this would be a php function. How difficult will this be to set up?

    Thank you.

  2. Adam Brown
    Member
    Posted 6 years ago #

    So the main page is not a WP page, right? Just a PHP page to aggregate recent headlines from all the other blogs?

    Two solutions. If you have LOTS of subdomain blogs, consider using a single WP-MU installation to power them all, then get the WPMU sitewide feed plugin to create a single feed for all the blogs.

    If you are using only a handful of blogs, stick with having each subdomain use a separate installation of normal WP. My suggestion would be to use something like the MagpieRSS package (google it) to grab all the feeds, then do some fancy work on the resulting feed arrays to merge them and sort them by their pubdate fields. This would rapidly get complicated, though.

    Actually, come to think of it, google "merge feeds" and "combine feeds" to see if there's a service that will combine and sort the feeds for you. Then it's just a simple matter of displaying them using either magpieRSS or something like feedburner's feed flare.

  3. shlinklincoln
    Member
    Posted 6 years ago #

    Thanks for the info. Actually my homepage will also be a WP installation using the Fall Season theme, same as all my subdomains.

    Does this make it easier or more difficult?

    I'll check out the WP-MU plugin and see if that is what I'm looking for.

    Thanks again for your help.

  4. Adam Brown
    Member
    Posted 6 years ago #

    Does this make it easier or more difficult?

    Probably no difference.

    I'll check out the WP-MU plugin and see if that is what I'm looking for.

    Just to clarify, WP-MU isn't a plugin, it's a completely different version of WP. But maybe you knew that and were referring to the WPMU "sitewide feed" plugin...

Topic Closed

This topic has been closed to new replies.

About this Topic