WordPress "Multi-site" # 1 Introducing a convenient function to manage multiple sites

WordPress “Multi-site” # 1 Introducing a convenient function to manage multiple sites

In this article, I will introduce what you can do with the multi -site function and the advantages of multi-site .

table of contents

About multi-site function Multi-site configuration Advantages of multi-site 3.1 Eliminate the hassle of installing a new WordPress 3.2 Can use common themes on multiple websites 3.3 Can register and manage logged-in users at once 3.4 Can add and manage plugins at once 3.5 Other Web Easily output site posts Finally

1. About multi-site function

If you are creating a website with WordPress, you may want to run multiple websites with the same design. For example, you may want to operate a blog that introduces event information with different URLs for the event information site in Tokyo and the event information site in Osaka.

Configuration without multi-site

In this case, it can be realized by installing WordPress for one country and WordPress for another separately on the server and putting the same theme in each WordPress.However, that way, if you want to change the design of your website, you’ll need to modify both site themes. Also, if you want to create pages with exactly the same content on both websites, you need to log in to their respective management screens and create articles for each.If you have two or three websites, it’s not that hard yet, but when it comes to managing blogs for 47 prefectures, you get stuck.To solve this situation, WordPress comes standard with a feature called multi-site . With the multi-site feature, you can manage multiple websites with one WordPress.

2. Multi-site configuration

Only one WordPress is installed on the server. If you enable the multi-site function of WordPress, you can post and operate multiple websites on one management screen, and a storage area corresponding to each website will be created in the database.

Configuration using multi-site

You can use different themes or the same theme for each website.If you’re using the same theme, the files you reference are the same, so you can redesign all your websites in one go.Although the database is common, the storage areas (tables) are different, so the posts on each website will not be mixed. However, since the database is the same, there is also an easy way to get post information from another site. Some menus have changed from the previous management screen, and the menu of the header bar has increased.If you click “Site” on the left menu, you can check the addition of a new website, a list of multi-sites registered in this WordPress, the URL of the site, etc.Other than that, it is almost the same as the normal management screen.I will explain how to operate the management screen from the next time onwards.

3. Benefits of multi-site

From here, I will explain in detail the advantages of introducing multi-site.

3.1 Eliminate the hassle of installing a new WordPress

First of all, of course, you only need to install one WordPress, so you can save the trouble of new installation and initial setting of WordPress. It’s very easy because the WordPress version update is reflected on all websites at once.

3.2 Common themes available on multiple websites

The biggest benefit of using the multi-site feature is that you can use a common theme for all websites. Those who edit template files and frequently customize designs and layouts will especially appreciate the effect. When mass-producing websites with similar designs, please try the multi-site function.However, some distributed themes do not support the multi-site function, so please check in advance by reading the theme distribution page or the notes in the document before introducing.

3.3 Login users can be registered and managed at once

This is a function that allows multiple people to experience the convenience of posting / editing blogs and managing websites.If you register a user name and e-mail address on the site network screen (screen for setting general site settings) , that user’s account will be added to all websites.Since the added account can set the role of the user for each website, “Mr. A can post only on site 1” “Mr. B can only post on site 1 and site 2”It is also possible to make complicated settings such as.Managing user accounts is a bit more complicated than any other multi-site feature, so it can be a bit of a pain to get used to, but it’s a lot easier than registering users on all websites, so remember and use it.

3.4 Plugins can be added and managed in a batch

By pre-installing the plugins you are likely to use on the site network screen, the plugins will be available on all websites. You can also choose which plugins to enable for each site.Not only does it save you the trouble of installing plugins on each website, but it is also convenient for compatibility because you can have the same plugin version on all websites.However, as with the themes, some of them do not support the multi-site function, so be sure to check that they support multi-site before installing the plugin.

3.5 Easily output posts from other websites

You can use the switch to blog () function to output articles and fixed pages posted on one website to another website. Since the information exists in the database of the same server, it is easier than referencing and outputting using REST API.This is a particularly useful function when creating a site with a parent-child relationship, such as listing articles posted on site B, site C, and site D on site A.

4. Finally

This time, we have introduced the image of the configuration and the merits of introducing the multi-site function of WordPress.The multi-site feature is useful in a limited number of cases, but if you have the opportunity to manage multiple WordPress sites on the same server, give it a try.