Page 1 of 1

Guide for configuring WordPress Multisite

Posted: Mon Sep 19, 2022 11:40 am
by isscbta
In case when you are going to install WordPress Multisite, there are two options:
1. Add domains/subdomains as an alias for the main domain
2. Add domain/subdomain as usual in myVesta, then delete public_html/ which would be automatically created for particular domain/subdomain, and in place of that deleted public_html/, place symlink of the main multisite

Code: Select all

In your SSH, as root, run:
rm -rf /home/user/web/subsite.com/public_html
ln -s /home/user/web/maindomain.com/public_html /home/user/web/subsite.com/public_html
chown -h user:user /home/user/web/subsite.com/public_html
And eventually you will have to add this in your /etc/php/x.x/fpm/pool.d/subsite.com.conf conf file under open_basedir:

Code: Select all

/home/user/web/maindomain.com/public_html: