How-to Install/Enable WordPress 4.x Multisite on Linux Servers Easy Guide

February 23rd, 2015 by thelinuxevangelist

Enabling WordPress Multisite on Linux



The Linux Tutorial Shows You Step-by-Step How-to Install/Enable a Sub-domain Based WordPress 4.x Multisite Network on GNU/Linux Web Servers.

A WordPress Multisite network is a collection of sites that all share the same WordPress installation. They can also share plugins and themes.

Install WordPress 4.x Multisite - Featured
  1. Access Your Domain WordPress Folder on Server

  2. Insert into wp-config.php Just Before “Happy blogging”

    cd [/path/2/myWordpressDomain]/
    sudo nano ./wp-config.php
    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    

    Ctrl+x to Save & Exit from nano Editor ;)



  3. Access or Refresh Admin Page on Browser

  4. On WP Dashboard
    Select Tools >> Network Setup

    Installing WordPress 4.x Multisite - Network Setup

  5. Copy and Paste into Files

    sudo nano ./wp-config.php

    Inserts into wp-config.php Just Before “Happy blogging”:

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'downloadlinux.net');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    sudo nano ./htaccess

    Inserts in .htaccess:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    

    Wordpress 4.x Multisite Installation - Chunks to Appends on Files



  6. Log-Out and Log-In again to Get Enabled WordPress Multisite :)

     - WordPress Login

Wordpress 4.x Multisite Installation on Linux Servers - WordPress Multisite Sites Network

Share on Tumblr

Tags: , , , , , , , , , , , , , , ,


Comments are disabled