Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tomacco0

    (@tomacco0)

    I’m trying to maintain a single blog but only show posts from a particular category for a certain host name :/

    Thread Starter tomacco0

    (@tomacco0)

    I found http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category but it’s not going to change the domain in links, etc :/

    tomacco0,

    It’s a bit challenge. Well, it is possible. As I understood it should be just one database and 3 blogs with different categories. I personally have such solution:

    1. Install 3 wordpress blogs on each hostname and use the same wp-config.php for all 3 blogs. It will allow you to use 1 database for 3 blogs.

    2. You’ll need some custom code changes to get only the category you want from the database for different hostname.

    May be it would be easier just to install and maintain 3 different blogs.

    Install WordPress.

    Go multisite – Create A Network

    Install Domain Mapping plugin to point domain names to server and to respective subblogs.

    Automatically get recent posts from all sub-blogs in main site.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multiple Hostnames, Single Blog’ is closed to new replies.