-
Notifications
You must be signed in to change notification settings - Fork 4
WordPress Multisite on Nginx
jaswsinc edited this page Jun 28, 2016
·
2 revisions
By default, when you setup a Multisite Network in the WordPress Dashboard, you are given instructions that assume you're running Apache and not Nginx. Step 1 in these instructions (as seen below) you can and should do—even if you're running Nginx. Not a problem. However, Step 2 is not possible on Nginx, because .htaccess files are an Apache-only concept.
Instead of .htaccess, log into your VM over SSH and complete the following steps.
$ cd ~/my.vm;
$ vagrant ssh;# Requires WUB v160628.31873 (or higher).
$ sudo ln --symbolic /bootstrap/src/nginx/conf.d/server/wp-ms.conf /etc/nginx/conf.d/server/wp-ms.conf;
$ sudo service nginx restart;That's it. You're all set now.
