1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Install WordPress MS (multisite) ex-WPMU
This guide explains how to implement a network of WordPress sites in order to manage multiple sites from the same Infomaniak WordPress installation, with URLs of type site1.domain.xyz
, site2.domain.xyz
, or even with domain1.com
, domain2.com
, etc.
⚠For additional assistance contact a partner or launch a call for tenders free of charge — discover also the role of the host.
Installation of Multisite WordPress
To this end:
- Install WordPress via Infomaniak on your hosting space.
- Log in by FTP.
- Edit file
wp-config.php
. - Above the line "
/* That's all, stop editing! Happy blogging. */
" add:
define('WP_ALLOW_MULTISITE', true);
Then go under TOOLS of your WordPress in order to create a network.
Follow the directions. In particular, it will be necessary to:
- Remove any SSL certificate.
- Disable WordPress extensions:
Add sites to your WP network
To this end:
- In WordPress, come back under TOOLS > Networking
- Choose the method of creating your different WordPress (on sub-domains)
- Add the necessary information in the wp-config.php and .htaccess on the server
- After reconnexion to your WordPress you will get a new menu "My sites" in which you can add and manage your different sites from the same network
- On the Manager, add an alias to your site of the form *.your-domain-here (the asterisk allows to create an alias wildcard) with DNS update so that the good
CNAME
be automatically added to the area. - When you create a new site within the network, for example by naming it
site1
then it will become accessible viasite1.domain.xyz
And so on.
Sub-domain and whole domain
Right after the addition in the WordPress network, you have the possibility to change URL the added site:
Click on Edit Site to specify the full URL: