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
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?
Supaiku last edited by