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:
That's it ! See https://docs.cloudron.io/apps/wordpress-developer/#multisite for information.
@jonathanwexler said in WordPress multisite:
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!
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.
@jonathanwexler Do you remember what failed / did not work?
@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.
Lonkle 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
--subdomainsfrom the end to create a
subdirectoryinstall (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