Want to use multi-domains for large sub-directory multi-site

I have a new client that is a franchise with over 700 locations world wide. Currently, they have over 45 different multi-site installs on their server, which we are now responsible for managing. Aside from the bad coding practices we inherited from the last developer, I would like to see this all as one network so that when we push a new feature, we don't have to reply it 45+ times.

The issue is the are all different domains. i.e. http://www.example.com and http://www.example.fr. Each new domain is for a different country, some of which have laws requiring the use of their countries domains (so I'm told), and can not and will not entertain the idea of combining all into one domain as in the .com.

They also have all been set up as sub-folder multi-sites and they've been running this for far too long to consider changing that either.

So, the plugin you have https://premium.wpmudev.org/project/multi-domains/ seemed at first glance like it would do the trick until I saw the disclaimer in the usage tab about it not working well for sub-folder installs.

Can anyone here elaborate on this for me at all? I'd really love to be able to use this to solve the issue here, but I do need a rock solid implementation because of the demands of the client and number of sites they have.

Thanks,
Micha

  • James Morris
    • WordPress Enthusiast

    Hello Micha,

    I hope you are well today.

    I just tested out WP Multi Network on my subfolder install of multisite and added a couple domains to it to create subnetwork sites. Everything worked well and was very simple to setup. No file changes were needed. I believe in your situation this would be the simplest way to go.

    However, with such a massive network, please keep in mind the heavy resource usage that will be incurred by combining so many sites into 1. The load on MySQL is going to be significant.

    However, if you have the resources to handle such a large multisite install, WP Multi Network looks to be a very good solution in your situation.

    Best regards,

    James Morris

  • Micha
    • Recruit

    Hey James, and thanks for the info. I'll give the WP Multi Network a try myself on a staging server soon and test.

    I'm also aware of the SQL load issues. I was planing on using a plugin that WPMU created that essentially splits a database up and host them on different SQL servers, but they've discontinued that.

    Not really sure what else to do here other than super freaking fast hosting.

  • James Morris
    • WordPress Enthusiast

    Hello Micha,

    The reason for the discontinuation of Multi-DB was that it was not used by very many users anymore and it's really not needed anymore. With the proliferation of SSD drives, fast/abundant RAM and scalable, on-demand hosts like Amazon, such a plugin didn't have much of a market. Also, WordPress has made great strides in the past few years in optimizing performance as well.

    There's a great number of resources out there regarding how to optimize your install and your server for such a large implementation. Here's a couple to get you started.

    https://codex.wordpress.org/WordPress_Optimization
    https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/

    I hope this gets you going in the right direction. :slight_smile:

    Best regards,

    James Morris

  • Micha
    • Recruit

    Yeah... I did read up on that. I'm also hoping that I can get this site ready for PHP7 soon which is supposedly way faster that anything previously.

    Thanks for the references on the optimization. I'll take a look at those, but I've already been optimizing the database over the last couple weeks on the primary U.S. based site (which has about 2/3 or the total sites). The last developers sure handed me a whopper that's for sure. lol

    Anyways, thanks for the time and insight. :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.