WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can I make my site appear to have multiple blogs? (6 posts)

  1. torkil
    Member
    Posted 8 years ago #

    I don't want to split my site into multiple blogs, I just want to make it appear to be split into multiple blogs. I write on several topics, but one topic (category) stands out and is totally unrelated to the others, so I want to separate that from the rest by:

    1) On the main page http://www.mysite.com, I want to filter out all posts from this category (and its subcategories) so that on the default mainpage all post except posts from the special category is shown, and vice versa on the special category frontpage.

    2) I want separate themes for the categories. This I have managed to do already by creating a category-9.php-page and modifying it, but when viewing a full post (after clicking the read more-link) the theme reverts back to the default one. Can I make the custom theme be shown both when viewing the category and when viewing a post in the category?

    3) Can I filter out the archive and search stuff too, so that when I search on the default page, the special category stuff is filtered, and when I look in the archives on the special category, then all the other stuff is filtered?

    I guess what I'm trying to accomplish is to making it seem that I have two blogs, when they are really just several categories of the same blog.

    - Torkil

  2. Christopher J. Hradil
    Member
    Posted 8 years ago #

    I've done what you're trying to do, unfortunately, it turned out easier to set the site up like this:

    root -- home page - link to topic one
    = link to topic two
    = link to topic three

    /topic1
    wp-install
    /topic2
    wp-install
    /topic3
    wp-install

    all use the same db, with different table prefixes.
    turned out to just be easier to run/manage, etc when I started to want different things to happen in each area.

  3. torkil
    Member
    Posted 8 years ago #

    So you set it up with three different installs, but with same database, only different DB prefixes. And you used a subfolder for each install.

    Did I read it correctly?

  4. pope
    Member
    Posted 7 years ago #

    Hey,

    I dug this up on a search. I'm trying to do this too. My domain hosting has a one click install for WP and I did it once in the main directory and once in a sub-directory using the same database. However, I don't know what you mean by using different DB prefixes. How would one do that?

    Thanks.

  5. moshu
    Member
    Posted 7 years ago #

    Manually. Not-one-click.
    Read about the DB table prefix in the wp-config.php file:
    http://codex.wordpress.org/Installing_Multiple_Blogs#Single_Database

  6. pope
    Member
    Posted 7 years ago #

    Thanks for the fast reply. I think I'll just go with the multiple blog, multiple database method from you link. For some reason that page didn't come up in my search, but that is exactly what I'm looking for. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic