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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    WordPress multisite

    Announcements
    5
    9
    1468
    Loading More Posts
    • 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.
    • girish
      girish Staff last edited by girish

      The WordPress developer edition app now supports multisite installations.

      To enable WordPress multisite, start with a fresh installation. There are two way to convert a fresh installation to multisite - using the WP CLI tool or using the WordPress Network Setup Tool. Short instructions to use the CLI tool:

      • Open a Web Terminal. To use subdomains in multisite mode:
      # /app/pkg/wp-convert-multisite --subdomains
      
      • Go to the Location view of the Cloudron dashboard and configure a Wildcard alias.

      • Add wildcard domain as alias:
        4e15f94f-d42c-49b1-9a80-c03cdf9a2029-image.png

      That's it ! See https://docs.cloudron.io/apps/wordpress-developer/#multisite for information.

      ? 1 Reply Last reply Reply Quote 9
      • ?
        A Former User @girish last edited by

        @girish Great. I will test PressBooks as soon as I am able.

        ? 2 Replies Last reply Reply Quote 2
        • ?
          A Former User @Guest last edited by

          @jonathanwexler said in WordPress multisite:

          @girish Great. I will test PressBooks as soon as I am able.

          It totally works. Check out the PressBooks stock homepage: https://books.jonathanwexler.ca/

          I encourage others to try it out.

          I still have to install all the capabilities for ePub Mobi PDF output etc, but I feel this is an incredible solution for authors to publish their ebooks.

          Thanks Cloudron, you guys rock!

          1 Reply Last reply Reply Quote 2
          • ?
            A Former User @Guest last edited by A Former User

            Just an FYI I actually couldn't get the WP CLI method to work so I used the Network Setup which I have used in the past anyway.

            girish 1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @Guest last edited by

              @jonathanwexler Do you remember what failed / did not work?

              ? Lonkle 2 Replies Last reply Reply Quote 0
              • ?
                A Former User @girish last edited by

                @girish Yes. Running the multisite script for WP Cli did not do anything for me. I never used WP Cli before so wasn't sure if it was properly installed or not.

                1 Reply Last reply Reply Quote 0
                • Lonkle
                  Lonkle @girish last edited by

                  @girish The script you gave as an example doesn't exist. Maybe you forgot to deploy it on the production release? Here is a working one-liner to enable it. Remove --subdomains from the end to create a subdirectory install (that's the default so you just have to remove the flag).

                  cd ../data/public && sudo -E -u www-data /app/pkg/wp core multisite-convert --subdomains

                  1 Reply Last reply Reply Quote 0
                  • B
                    bibabe47 last edited by

                    It is necessary to raise the net of small sites with woo-commerce and there are two solutions: do WP multisite or make a single domain to put plug-in that will make a lot of small shops type shop.ru/store/xxx, shop.ru/store/yyy and mod_rewrite make it into xxx.shop.ru, yyy.shop.ru
                    In the first case, the right to be given away somewhere at the level of WP, in the latter case where the rights will be distributed at the level of plug-in that keeps stores.
                    Who thinks what option is best?

                    1 Reply Last reply Reply Quote 0
                    • Supaiku
                      Supaiku last edited by

                      Sweet 🙂
                      It looks like this also supports aliases with different domains without issue, yes?

                      For instance:
                      the main domain on www.example1.com
                      and a few more sites on www.example2.com and www.example3.com as well as perhaps admin.example1.com should all in theory work?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB