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.
You can create multisite as a subdomain
subsite.example.com or sub-directory
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
Step 4 : Enable Network
.htaccess file and add those code.
Step 5 : Sub-domain or Sub-directory Network Site
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
Step 6 : Create Sub-domain
Login to your hosting cPanel and go to Domain > Subdomains
Now create your subdomain. Make sure your subdomain Document Root is same as your main domain root.
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.
Your subsite is ready!