Changes between Initial Version and Version 1 of WordPress/MultiSite


Ignore:
Timestamp:
09/23/17 22:02:41 (7 years ago)
Author:
jorrit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WordPress/MultiSite

    v1 v1  
     1= Multi Site WordPress =
     2This article describes what I did to set up a multi site Wordpress system running CentOS 7 using the RPM's available from EPEL.
     3{{{
     4yum install httpd wordpress mariadb-server
     5}}}
     6
     7Create the database
     8{{{
     9mysql -u root -p
     10CREATE DATABASE wordpress;
     11CREATE USER wordpress@localhost IDENTIFIED BY 'password';
     12GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost IDENTIFIED BY 'password';
     13FLUSH PRIVILEGES;
     14exit
     15}}}
     16
     17
     18Edit /etc/wordpress/wp-settings.php and include new salts generated here: https://api.wordpress.org/secret-key/1.1/salt/
     19
     20Put in the following snippet before /* That's all, stop editing! Happy blogging. */
     21{{{
     22define( 'WP_ALLOW_MULTISITE', true );
     23define('MULTISITE', true);
     24define('SUBDOMAIN_INSTALL', true);
     25define('DOMAIN_CURRENT_SITE', 'dev.jorritsma.cc');
     26define('PATH_CURRENT_SITE', '/');
     27define('SITE_ID_CURRENT_SITE', 1);
     28define('BLOG_ID_CURRENT_SITE', 1);
     29define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);
     30}}}