• Hello,
    I’m going to split my site into multiple sites with WordPress Multisite.
    I would like to use subfolders.

    I currently have a news site for the city of New York, Seattle and New Jersey. I also have a Sports category and a Concerts category.
    I want to set up three specific sites, one site about New York, another site about Seattle and another site about New Jersey. And a generic site (main domain) with all the news of the three sites.
    Each of the three sites will have the Sport category and a Concert category.

    It is possible to have the generic site (main domain) with a Last News section (with all the news in New York, Seattle and New Jersey), a section of Sport (with all New York Sport posts, Seattle and New Jersey) and a section of Concerts (with all the posts of Concerts in New York, Seattle and New Jersey) ??

    The main domain is:
    examplenews.com

    The new subfolders will be:
    examplenews.com/newyork
    examplenews.com/seattle
    examplenews.com/newjersey

    I need those subfolders to be like the main websites, because I need them to be editable like a homepage. (category are difficult to modify)

    Thanks for the attention!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It’s possible to pull sub-site posts into the main site, but it’s messy and inefficient. I’m not convinced a multisite is required for what you describe. I think you’re opening a can of worms unnecessarily in doing so. I encourage you to reconsider your plan and think about a single site solution.

    There are other ways to separate out regional posts besides sub-sites. I would create a custom taxonomy called “Cities” and assign an appropriate taxonomy term to every news item: Seattle, New York, etc. Then it’s stupid easy to pull in news posts from all cities — just don’t restrict the query by the taxonomy.

    In place of the sub-folder URL scheme, a taxonomy URL scheme requires a “base” term which rewrite rules can latch onto to differentiate taxonomy requests from regular requests. Your URL scheme would look more like examplenews.com/city/seattle/. Aside from needing to define a custom taxonomy, WP will pretty much handle everything by default. The code to add a taxonomy is a little involved because of all the options, but if the defaults work for you it’s pretty simple really. There are also plugins that help you create taxonomies if you’re not a coder.

Viewing 1 replies (of 1 total)
  • The topic ‘Working with subfolders with WordPress Multisite’ is closed to new replies.