• Resolved rogeriodec

    (@rogeriodec)


    I’m creating a website for a school franchise, where there is the administrative headquarter and several branches (schools “children” of this headquarter).

    So I think about a structure like this:

    – mysite.org (the main site)

    |__ first.mysite.org (a branch)

    |__ second.mysite.org

    |__ third.mysite.org

    To make it easier, I want all sites (main and subdomains) to have an identical “Contact” page ( with google maps, contact form, address), ie, the exact same layout, just changing the address.

    1) Should I use Multisite? For that I would have to create a different page for each subdomain, right? This would make it difficult to maintain, for example, a layout change, where I would have to repeat the same change on every page in every subdomain.

    2) Should I have a single contact page for all subdomains, and change the page content dynamically via PHP, depending on the prefix of each subdomain?

    What’s the best approach for this case?

    Any suggestions are welcome, thanks.

    • This topic was modified 3 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Aside from contact page and perhaps a select few others, each sub-site’s content will be unique? Then yes, I think multisite would be a good solution. For pages that are the same through out all of the sites, the pages could in part be largely custom template based for the elements you’re fairly sure will not need to be edited by end users. For the elements that end user will need to periodically update, it’s possible for PHP code to switch to any other site (other than the current one) and fetch some stored data, like a specific post or meta value from the main site, then switch back and display it on a sub-site page.

    For subdomains where the content is largely all identical with only a few exceptions, then it makes more sense to stay with a single site and dynamically alter the few unique elements.

    Thread Starter rogeriodec

    (@rogeriodec)

    For subdomains where the content is largely all identical with only a few exceptions, then it makes more sense to stay with a single site and dynamically alter the few unique elements.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What is the best strategy for creating this site with multiple subdomains?’ is closed to new replies.