How to enable WordPress to support the creation of multiple sites (WPMU)

Source: Internet
Author: User
Tags subdomain subdomain name
As you can see from the official website, Wordpress3.0 and later versions support the multi-site function. Only one Wordpress program is installed: 1. You can create multiple wordpress sites, it can be a subdomain name or a subdirectory. 2. You can have an independent blog background and address based on the subdomain name. 3. The administrator can set the topics that are open to the site. 4. Administrator

As you can see from the official website, Wordpress3.0 and later versions support the multi-site function. Only one Wordpress program is installed: 1. You can create multiple wordpress sites, it can be a subdomain name or a subdirectory. 2. You can have an independent blog background and address based on the subdomain name. 3. The administrator can set the topics that are open to the site. 4. Administrator

As you can see from the official website, Wordpress3.0 and later versions support multi-site functions. Only one Wordpress program is installed:

1. You can create multiple wordpress sites, either subdomains or subdirectories.
2. You can have an independent blog background and address based on the subdomain name.
3. The administrator can set the topics that are open to the site.
4. The administrator can configure the plug-in for each site.
5. Multiple Sites share "user database tables", that is, tables wp_usermeta and wp_users, and some other data tables (wp_blogs, wp_site, wp_singnups, wp_registration_log, wp_blog_versions ), others are independent database tables.
6,It can also be a completely different domain name. Several SQL statements need to be executed manually.

The following describes how to configure multiple wordpress sites:
1. First, back up the database of the website to prevent accidental recovery (although it can be ignored, we strongly recommend that you do it and be careful when you get on a-year-old ship ).
2. Open the wp-config.php file under the wordpress root directory and add the following code at the end:

/** Enable woredpress multi-site support */define ('wp _ ALLOW_MULTISITE ', true );

3. Go to the wordpress background, choose tools> click Configure network"
Ps:
1) if you want to use a second-level domain name, you can go to "Settings"> "General" to remove the www. Of the site address (URL.
2) in this case, the DB account must have the create table permission; otherwise, the table creation fails.
4. If the plug-in is not disabled, you will be prompted to disable all plug-ins first.

5. After being disabled, you can create it. If it is not a new installation, a message is displayed:

Sub-domain name installation because your current installation is not brand new, you can only use sub-domain names for sites in your WordPress network. To install the SDK in a subdirectory of the primary site, you need to modify the fixed link structure, which may damage the existing link.

6. Click "Install" and the prompt is as follows:

Follow the instructions to complete the operation.
7. Click "Install" and follow the prompts to complete related configuration.
8. After configuration, go to the background again. The "my site"> "manage network" option menu will appear in the header. Next you can manage or create a site, you can also enable themes or plug-ins for other sites.

Reference Original:

Http://www.smyx.net/create-wpmu.html

Http://ischan.com/how-to-create-wordpress-mu/

Original article address: I would like to thank the original author for sharing how to allow WordPress to support the creation of multiple sites (WPMU.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.