Hello Guys…Once again I am here to you with a new post. In this post, I will tell you “How To Setup Multisite Network”. After reading this post you will clear about multisite, how, when and where to use it. So let’s start.
Before starting the article I wanna give you some overview about WordPress Multisite so that it’s easy to understand to you that what is WordPress Multisite? and how’s it’s useful to you?
Note: Before installing WordPress Multisite deactivate your all running plugins.
Create and manage more than one WordPress sites from a single dashboard, this is very useful feature for WordPress. This allows users to create their own sites as subdomains of your primary site. Multisite is especially useful for business, news or magazine sites with various departments, sections, and categories. By using the multisite feature, you’ll simply and quickly produce separate WordPress installations for each of them.
If you have never used multisite before, it would be wise to activate multisite in a test site or your localhost which is a WordPress installation on your computer. Keep a full backup of your website files and database. If something goes wrong then this will saves your last data and working state.
for activating multisite firstly add a new line to your wp-config.php file which is in your WordPress folder.
Open the file and search for the line No 85: /* That’s all, stop editing! Happy blogging. */
Now add below lines just above it: and save the wp-config.php file.
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
Now get back to your website dashboard. Go to Tools -> Network Setup. Click on it.
After select Network Setup. You will see a page –
On this page, you will have two options to customize –
Fill the network title, network email and click on ‘Install’ button. This will start the installation process. After a few seconds, you will be shown to a page like the below image –
Here you will show wp-config.php and .htaccessfiles code which you have to add in your wp-config.php and .htaccess files.
For the wp-config.php file, make sure that you are adding the code before the “/* That’s all, stop editing! Happy blogging. */” line.
For the .htaccess file, delete the lines between the “# BEGIN WordPress” and “# END WordPress” lines. And paste the lines which you were given.
After updating the wp-config.php and .htaccess files, reload your website dashboard. You will be asked to log in again.
Once you log in, you will be taken to your regular dashboard, which will have a new top menu titled ‘My Sites‘.
Now go to ‘Settings’ menu of your dashboard, you will see two new sub-menus – Network Settings and Network Setup.
The Network Setup sub-menu will display the codes you added to the wp-config.php and .htaccess files during activating multisite. This is just a reference page; you will not find any actual option on this page.
Now go to Settings -> Network Settings from your network dashboard, you will be taken to a page like the following –
You can customize Settings here:
After you have made the necessary changes, click on ‘Save Changes’.
After Multisite Settings, your network dashboard will be shown like below image –
Here you will show two boxes one is search users and another is search sites. You can find the number of users and sites in your network.
In the network setting, you can view a list of the sites, users, themes, and plugins of your network by going to the Network Admin menu from the top navigation bar.
for adding a New Site Go to My Sites -> Network Admin -> Sites from the top menu. This will take you to the ‘Sites’ page. From the page, click the ‘Add New’ button. This is the simple step to add a new site in your WordPress.
Fill the site address, title, and Admin email in their fields. Then, click ‘Add Site’. This will create the site for you.
To view a list of all the sites, go to My Sites -> Network Admin -> Sites.
Or, if you are already in the network dashboard, you can only go to Sites -> All Sites.
To activate/deactivate the theme for use on just one site, go to Network Admin > Sites > All Sites.
Hover over the Theme name and Deactivate/Activate. Your Page will look like this –
Your WordPress multisite is ready to create new sites. If you like this post, then don’t forget to leave your comment below.