Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Official Multisite Support for the Wordpress app (managed and unmanaged)

Official Multisite Support for the Wordpress app (managed and unmanaged)

Scheduled Pinned Locked Moved Solved Feature Requests
wordpressaliases
21 Posts 8 Posters 3.7k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • marcusquinnM marcusquinn

    @Lonk Hey, great reasoning, and I'm all for choice if you have experience and a use-cases. My understanding is that wordpress.com itself is one super multi-site, so it can make sense for SaaSifying WP.

    Having been through this decision a few years go, we actually went with single-sites, although we have the advantage of a complete GitLab CI/CD process, so we have single repos for the stack, plugins & themes then deployed to all instances on commits with the GitLab Runners pipeline.

    We went this route for a more containerised approach to sites, so that issues would likely not bring down all sites, and each would be portable should the client wish to be involved or have on hosting they control.

    • https://brandlight.org is our site to explain our stack but mostly from a business perspective than technical.

    • https://brandlight.org/i/partnerships/clients/ are the sites we have live so far with this approach.

    We have been actively contributing to the Distributor plugin from 10up for replicating content with a Hub & Spoke approach to managing content:

    • https://distributorplugin.com
    • https://github.com/10up/distributor

    We're intending to open-source the Brandlight stack one day but for now it's a private project. If you're at that level with development then I'd be happy to invite you into our GitLab repos under trust that currently our primary needs are business development. We don't sell code, plugins or themes, and none of our work is intended for that, it's just for our own self-funded sites until we get to a point we can open it up to more clients. We have a backlog of 12 sites to get through before that though.

    I have an open-mind for multi-site but actually we're going to use the Cloudron API to launch single-sites for demo & launch needs through an interface on brandlight.org at some point. So clients know they can use our hosting or their own as they prefer, with all the disclaimers that would involve of course.

    For interest, with all the https://swanson.co.uk international sites you'll see on the above link and linked in the site footer, they are a single site with domain aliases handled in the code for localisation preferences.

    Our overall goal is building an international enterprise Woocommerce stack, highly optimised for speed, with all the groupware features businesses need for information processing and publishing alongside handling products.

    Much of what we do is optimisation for uncached speed, fragment caching, ajax etc, since full page caching doesn't work for our primary need to serve logged-in users with dynamic content.

    If you like WP dev stuff, be happy to introduce you to our team in Discord. Certainly some collab opportunities for making the Brandlight stack work as a private Cloudron App initially and perhaps a public one later depending on interest.

    LonkleL Offline
    LonkleL Offline
    Lonkle
    wrote on last edited by
    #6

    @marcusquinn Absolutely, I don't see a need for your GIT since I'm not quite sure what you guys do yet, but I'd love to join your Discord and discuss WP related development. If they have a DM on this (most forums do), you can just DM an invite link. ☺️

    1 Reply Last reply
    1
    • LonkleL Offline
      LonkleL Offline
      Lonkle
      wrote on last edited by Lonkle
      #7

      I was wrong, aside from adding support for domain aliases as noted above, there is one more change needed to make this have feature parity with Wordpress Single Site installations. I was looking up the Cloudron source code and it uses the WP CLI to run cron manually every minute on the base domain, this cron.sh script (https://git.cloudron.io/cloudron/wordpress-unmanaged-app/-/blob/master/cron.sh) would need to be edited to something like:

      WP_PATH="/path/to/wp"; for SITE_URL in $(wp site list --fields=domain,path,archived,deleted --format=csv --path="$WP_PATH" | grep ",0,0$" | awk -F ',' '{print $1 $2}'); do wp cron event run --due-now --url="$SITE_URL" --path="$WP_PATH"; done

      So that it runs that same command on every active site.

      1 Reply Last reply
      1
      • LonkleL Offline
        LonkleL Offline
        Lonkle
        wrote on last edited by
        #8

        I think the demand for domain aliases is there so this issue will likely just fix itself. But I'll write a modified https://git.cloudron.io/cloudron/wordpress-unmanaged-app/-/blob/master/cron.sh to automatically trigger every site within a multisite's cron jobs (yeah, you have to cron per sub-site, it's silly). Technically, right now, even with subdirectories, I don't think any cron's except for the primary domains are running rn for the people that have multisite installed with subdirectories (like me).

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by A Former User
          #9

          I've been thinking, I would be tempted to keep going with separate WP instances (to more finely control resource allocation to specific clients) if we could create some sort of "app folder" system. Or app categories.

          Not trying to invalidate this issue because its still important. But this just popped into my head. I can make a request for it.

          I'm imagining something like app folders on iOS or Android or like collapsable sections.

          LonkleL 2 Replies Last reply
          1
          • ? A Former User

            I've been thinking, I would be tempted to keep going with separate WP instances (to more finely control resource allocation to specific clients) if we could create some sort of "app folder" system. Or app categories.

            Not trying to invalidate this issue because its still important. But this just popped into my head. I can make a request for it.

            I'm imagining something like app folders on iOS or Android or like collapsable sections.

            LonkleL Offline
            LonkleL Offline
            Lonkle
            wrote on last edited by Lonkle
            #10

            @atrilahiji I agree that these two would be separate issues. I plan on adjusting the Cloudron Wordpress Project for Multisite support after @girish and @nebulon are finished with 6.0. Which I’m really hoping will come with domain aliases. 🤞 Cause I can do the rest very easily (domain alias code is needed at the Cloudron level and it turned out to be a pretty popular feature request by itself which was cool). I have a decade of Wordpress (and WooCommerce) development experience and I found a new platform that I really love to work out it in (Cloudron).

            The funny thing is, was that this platform was the one cloud panel I found with a no-op for DNS domain lookup which I needed for a specialized project I was working on. And I just fell in love with the platform after that - then even more after being part of the forums here. Everyone here is encouraging and it makes development fun.

            1 Reply Last reply
            2
            • ? A Former User

              I've been thinking, I would be tempted to keep going with separate WP instances (to more finely control resource allocation to specific clients) if we could create some sort of "app folder" system. Or app categories.

              Not trying to invalidate this issue because its still important. But this just popped into my head. I can make a request for it.

              I'm imagining something like app folders on iOS or Android or like collapsable sections.

              LonkleL Offline
              LonkleL Offline
              Lonkle
              wrote on last edited by
              #11

              @atrilahiji But definitely put in a request for folders for apps. That’s will def beneeded in the future with all the apps we’re coming out with now!

              ? 1 Reply Last reply
              0
              • LonkleL Lonkle

                @atrilahiji But definitely put in a request for folders for apps. That’s will def beneeded in the future with all the apps we’re coming out with now!

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #12

                @Lonk Will do! And same, I am hoping to be able to contribute by packaging some apps and develop some apps (details coming soon) that will be set up to work quite nicely with Cloudron. Huge fan of the platform and the annual cost is a small price to pay to have this wonderful hosting experience and ensure that our lords and saviors @girish and @nebulon are compensated for their hard work.

                LonkleL 1 Reply Last reply
                0
                • ? A Former User

                  @Lonk Will do! And same, I am hoping to be able to contribute by packaging some apps and develop some apps (details coming soon) that will be set up to work quite nicely with Cloudron. Huge fan of the platform and the annual cost is a small price to pay to have this wonderful hosting experience and ensure that our lords and saviors @girish and @nebulon are compensated for their hard work.

                  LonkleL Offline
                  LonkleL Offline
                  Lonkle
                  wrote on last edited by
                  #13

                  @atrilahiji I may have gotten a little trigger happy with the feature requests today. I already put yours in. 😅

                  https://forum.cloudron.io/topic/3220/organize-apps-into-folders-via-tags/8

                  1 Reply Last reply
                  0
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #14

                    I loved WPMU back in the early 2000s and always used to install it with SQLite. Why expose a networked DB?

                    It's harder to do in Cloudron as each app is tied to a single domain + aliases if set. This goes further with SSL certs and rev-proxy setup.

                    If all the feedback loops required are addressed it would be a welcome addition as I've just been handed ~278 domains to deal with 😈

                    Conscious tech

                    LonkleL 1 Reply Last reply
                    0
                    • robiR robi

                      I loved WPMU back in the early 2000s and always used to install it with SQLite. Why expose a networked DB?

                      It's harder to do in Cloudron as each app is tied to a single domain + aliases if set. This goes further with SSL certs and rev-proxy setup.

                      If all the feedback loops required are addressed it would be a welcome addition as I've just been handed ~278 domains to deal with 😈

                      LonkleL Offline
                      LonkleL Offline
                      Lonkle
                      wrote on last edited by Lonkle
                      #15

                      @robi As soon as Domain Aliases become a thing on Cloudron (right now they're just redirections), I'll hook Wordpress Multisite to the Cloudron API so you don't have to leave Wordpress to create the new domain either (since domain mapping is built directly into WP Multisite now).

                      I'll merge request the unmanaged and managed Wordpress installations with my Multisite Optimizations. But waiting for Cloudron 6.0 to do so due to Wordpress changes being released on that version, and it's release date is getting closer.

                      robiR D 2 Replies Last reply
                      1
                      • LonkleL Lonkle

                        @robi As soon as Domain Aliases become a thing on Cloudron (right now they're just redirections), I'll hook Wordpress Multisite to the Cloudron API so you don't have to leave Wordpress to create the new domain either (since domain mapping is built directly into WP Multisite now).

                        I'll merge request the unmanaged and managed Wordpress installations with my Multisite Optimizations. But waiting for Cloudron 6.0 to do so due to Wordpress changes being released on that version, and it's release date is getting closer.

                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #16

                        @Lonk awesome, sounds like a plan.

                        BTW, for those that still have to manage many WP sites individually, I recently came across something that makes it easier and it's free, called GoDaddy Pro.

                        Conscious tech

                        jdaviescoatesJ 1 Reply Last reply
                        1
                        • robiR robi

                          @Lonk awesome, sounds like a plan.

                          BTW, for those that still have to manage many WP sites individually, I recently came across something that makes it easier and it's free, called GoDaddy Pro.

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #17

                          @robi said in Official Multisite Support for the Wordpress app (managed and unmanaged):

                          BTW, for those that still have to manage many WP sites individually, I recently came across something that makes it easier and it's free, called GoDaddy Pro.

                          I hate GoDaddy. Horrible company. 😛

                          MainWP is similar and GPL (with premium add-ons):
                          https://mainwp.com/

                          I use Cloudron with Gandi & Hetzner

                          LonkleL 1 Reply Last reply
                          0
                          • jdaviescoatesJ jdaviescoates

                            @robi said in Official Multisite Support for the Wordpress app (managed and unmanaged):

                            BTW, for those that still have to manage many WP sites individually, I recently came across something that makes it easier and it's free, called GoDaddy Pro.

                            I hate GoDaddy. Horrible company. 😛

                            MainWP is similar and GPL (with premium add-ons):
                            https://mainwp.com/

                            LonkleL Offline
                            LonkleL Offline
                            Lonkle
                            wrote on last edited by
                            #18

                            @jdaviescoates Can vouch for MainWP, it’s a pretty cool concept because it runs inside of another WP installation which makes making add-ons (I make a lot of WP plugins) for it so much easier.

                            1 Reply Last reply
                            3
                            • LonkleL Lonkle

                              @robi As soon as Domain Aliases become a thing on Cloudron (right now they're just redirections), I'll hook Wordpress Multisite to the Cloudron API so you don't have to leave Wordpress to create the new domain either (since domain mapping is built directly into WP Multisite now).

                              I'll merge request the unmanaged and managed Wordpress installations with my Multisite Optimizations. But waiting for Cloudron 6.0 to do so due to Wordpress changes being released on that version, and it's release date is getting closer.

                              D Offline
                              D Offline
                              derin
                              wrote on last edited by
                              #19

                              @lonk Is this any closer to becoming a reality. I feel like running a multisite on cloudron would be a piece of cake if this was a thing.

                              1 Reply Last reply
                              0
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #20

                                This is implemented now - https://forum.cloudron.io/topic/4516/wordpress-multisite

                                D 1 Reply Last reply
                                2
                                • girishG girish

                                  This is implemented now - https://forum.cloudron.io/topic/4516/wordpress-multisite

                                  D Offline
                                  D Offline
                                  derin
                                  wrote on last edited by
                                  #21

                                  @girish YAAAS so happy.

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Bookmarks
                                  • Search