Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Install WordPress MS (multisite) formerly WPMU
This guide explains how to set up a WordPress network to manage multiple sites from a single WordPress installation, with URLs like site1.domain.xyz
, site2.domain.xyz
, or even domain1.com
, domain2.com
, etc.
Make your life easier! If needed, local partners recommended by Infomaniak can handle these procedures. Launch a free tender. They take care of everything, freeing you from technical details.
WordPress multisite installation
To begin:
- Install WordPress via Infomaniak on your hosting space with a main domain name:
- This first WordPress site must be reachable and function correctly:
- This first WordPress site must be reachable and function correctly:
- Log in via FTP.
- Edit the
wp-config.php
file of this first WordPress site concerned. - Above the line "
/* That's all, stop editing! Happy blogging. */
" (#94) copy and paste the codedefine('WP_ALLOW_MULTISITE', true);
:
- Save your changes.
- Then log in to the administration of your WordPress site.
- Temporarily disable all WordPress plugins:
- Go to the TOOLS menu to create a Network:
- Choose the method for creating your different WordPress sites (on subdomains)β¦
- Click on the installation button:
- Add the instructions displayed on the screen to the
wp-config.php
and.htaccess
on the server. - After reconnecting to your WordPress, you will get a new menu "My Sites" where you can add and manage your different sites on the same network:
- In the Manager, add an alias to your site in the form
*
.your-domain-here (the asterisk allows you to create a wildcard alias) with DNS update so that the correctCNAME
is automatically added to the zone: - Install or update your SSL certificates:
- When you create a new site within the network, by naming it for example
home2
it will become accessible viahome2.domain.xyz
and so on:
Link to this FAQ: