Step by Step Guide to Create WordPress Multisite

48 0

Multisite is advanced feature of WordPress since the launch of WordPress version 3.0. You can create and manage network of sites from a single WordPress dashboard.

Domain Mapping

You can create multisite as a subdomain subsite.example.com or sub-directory example.com/subsite

Also you can create network site with a different domain. Let’s create WordPress multisite.

Step 1 : Deactivate plugins and Backup

If you want to create multisite in your existing WordPress site then keep a backup of all of your files then deactivate all active plugins and make sure that Pretty Permalinks work on your single WordPress site.

Step 2 : Allowing Multisite

Go to your WordPress installation directory and open wp-config.php it to define multisite. In wp-config.php file add this line above where it says /* That's all, stop editing! Happy blogging. */

/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );

Step 3 : Install Network

Now you can see the Network Setup menu under the Tools menu in the WordPress admin panel. Enter Network Title and Network Admin Email then click Install

Install WordPress network site

Step 4 : Enable Network

Edit your wp-config.php and .htaccess file and add those code.

Enable WordPress Network

Step 5 : Sub-domain or Sub-directory Network Site

In wp-config.php file define('SUBDOMAIN_INSTALL', true); will make the subsites a subdomain. Let’s say we’ll create a sub-site of Diet. When the subdomain is true the URL will be diet.fitguy.xyz and if it false the URL will be fitguy.xyz/diet.

sub-domain or sub directory

Step 6 : Create Sub-domain

Login to your hosting cPanel and go to Domain > Subdomains

cPanel sub domain

Now create your subdomain. Make sure your subdomain Document Root is same as your main domain root.

create sub domain

Step 7 : Create Sub-Site

Come back to your WordPress admin panel and visit My Sites > Network > Sites.

Here you will see all of your network sites. Click Add New to create a new site. Enter your subdomain name in the Site Address (URL) box then fillup the rest of the field and click Add Site.

create new sub site

Your subsite is ready!

Leave a Reply