If you are building your site for a company or any agency, then, in this case you might want to install your WordPress site in multisite since it has many benefits over the single site install. So, know about this, you searched about how to enable multisite in WordPress and accidentally landed here. Well, you are in the right place. Here, we will describe about it and show you all the required steps.
First of all, what we would like to say that, when you install the WordPress for your site, then, it will be installed for only one site. But, what if you want to host many sites using the same WordPress install for your company or agency or the news site? Is it really possible? Yes, it is possible. For this feature, you need to just enable multisite feature in WordPress and you are good on it. Here, we have described about it below. So, please check on those steps and make your single WordPress install into multiple install.
Add the required code in wp-config.php file
To enable multisite feature in WordPress, first of all what you need to do is, you need to open your wp-config.php file. In this file, you need to add the below provided code:
So, now you may be in confusion about where to add that provided code and lost in thinking, since you have not done such customization ever and searched it and landed here. Well, we will clear your confusion on this and provide you with the information about where to add the above code in that mentioned file. For the answer on it, the above code need to be just above this below code in the same file:
/* That's all, stop editing! Happy blogging. */
Now, after you have completed the above process and if you visit your dashboard, then, your WordPress dashboard will be similar as the below image, which shows the menu section of Network Setup inside the Tools section.
Now, in this step, you just need to visit the Network Setup menu section here and then, add the required details there.
Add the codes provided by WordPress to setup the multisite in your site
Now after all of the above steps is completed, it will ask you to add the required information in the required file of your WordPress setup files. Here, you just need to do it the same way as described in the WordPress screen and save the changes, then, after that you need to logout and then, after you login, you will get the site ready for having the multisite feature available for your site. The image shown below is, when this feature is applied to your site:
Now, you can manage all of your sites, which are in the same WordPress install through the My Sites section available via the WordPress dashboard of your site. Hence, you can add as many as required sites in your site in single install, when the WordPress multisite sites is enabled in your site.
If you have read the above post properly and could succeed in creating your WordPress site to be multisite, then, we can assume that you are quick learner and will create the multisite in WordPress more easily in the near future if really required.