• Resolved torkil

    (@torkil)


    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 https://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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    Thread Starter torkil

    (@torkil)

    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?

    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.

    Manually. Not-one-click.
    Read about the DB table prefix in the wp-config.php file:
    https://codex.www.ads-software.com/Installing_Multiple_Blogs#Single_Database

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can I make my site appear to have multiple blogs?’ is closed to new replies.