Installation multisite WaW

By 1 février 2016 Non classé No Comments

Cleaning server FTP : Moving everything to folders _vrac + _waw-fr
_com always here =
Export ALL from to
I can save my articles / posts …

Après transfert FTP de WordPress

Parse error: syntax error, unexpected ‘{‘ in /home/webaway/www/wp-includes/functions.php on line 2788

We need to create an .htacccess with :

Then a very classical WordPress install – Just need database information

Then edit wp-config.php

Before /* That’s all, stop editing! Happy blogging. */ just add

Logout /wp-admin/ then Login

A new submenu / page appears in Tools








Choose sub-domains if you want to use different URL’s (multilanguages / multidomains / …)

If sub-folders we will only have…

Then change htaccess / wp-config.php as indicated


Then LogOut / LogIn

Be carefull and copy all in wp-config.php

define(‘WP_ALLOW_MULTISITE’, true) is different from define(‘MULTISITE’, true) …

Database connexion error if you forget this line !

Now we have a new NetWork admin Menu











Go on Network Admin >> Sites and then add a new site – Example English version
















Then I can access to a new site at

If we want to access the website with  we need a plugin WordPress MU Domain Mapping

Network Admin >> Plugin >> Add new >> WordPress MU Domain Mapping

WordPress MU Domain Mapping















Install >> Network Activate

Follow the installation instructions :

Move sunrise.php from /www/wp-content/plugins/wordpress-mu-domain-mapping to wp-content/.

If there is a sunrise.php there already, you’ll just have to merge them as best you can.












Edit wp-config.php and uncomment or add the SUNRISE definition line. If it does not exist please ensure it’s on the line above the last « require_once » command. define( ‘SUNRISE’, ‘on’ );















As a « super admin », visit Super Admin->Domain Mapping to create the domain mapping database table and set the server IP address or a domain to point CNAME records at.












Make sure the default Apache virtual host points at your WordPress MU site or WordPress 3.0 network so it will handle unknown domains correctly. On some hosts you may be required to get a dedicated IP address. A quick check: in a web broswer, type in the IP address of your install. If you are using CPanel, use the Park a Domain menu to set the mapped domain to your main installation.

Manager OVH – We have the WildCard already




















Find a TYPE A and look at the IP Adress.

Use this IP for the Mapping




















Do not define COOKIE_DOMAIN in your wp-config.php as it conflicts with logins on your mapped domains.

Connect to OVH manager

Go to the main domain (the one associated with the host)

Click on Add domain or sub-domain



















Link this domain to the root folder ./www


























Then go back to WordPress !

And add a new site :












Don’t INSERT the WWW !!!!

Or http:// will not redirect correctly.

You can delete and start again if you made the mistake already.