WordPress implements a multi-user Blog system

Source: Internet
Author: User
Tags network function subdomain subdomain name

In Wordpress 3.0, a multi-user blog network has been created. this article describes how to create such a network. eventually, just like creating a personal wordpress.com blog website.
Note: If you are using the WordPress Mu plug-in, you do not need to perform the following operations. your network function has been enabled. once you update to 3. the system will prompt you to update a version branch of X. the rules in htaccess are used to set a multi-user blog.
Procedure
Admin management permission required

If you want to configure a multi-user blog network, you should at least have a basic understanding of Unix/Linux management operations. It is best to have a certain understanding of WordPress development, PHP, HTML and CSS.

Configuring and installing and running a multi-user blog network is much more complex than a single blog site. reading this article will help you determine if you really need to assume a multi-user blog network and tell you what will be involved if you have to do so. if you do not understand the instructions in this article, you must first perform these actions on the test site, and be cautious when operating on a site.

Server Requirements
Creating a site network has more requirements and restrictions on the server. Please confirm with the network provider in advance whether the following services are provided (it is not recommended to test the server running ).

You can create a site network by using a subdomain name or subdirectory (see Step 4: Install the site network ), the difference is that the new network is displayed as a subdomain or as a subdirectory.

Subdomain name: such as site1.example.com or site2.example.com
Subdirectory: example.com/site1or example.com/site2

You can also use the wordpess Mu Domain Mapping plug-in to migrate the created site to an independent domain name.

Subdirectory site:
You need to enable the mod_rewrite Service (read. htaccess files and structured links) on the server. If your blog is using solid-state links, the sub-directory site works in the same way.
Subdomain site:
This requires you to enable the wildcard subdomains and DNS resolution functions (step 2 provides a wizard ).
Some websites have activated the second-level domain name function. You only need to add sub-domain name resolution. However, some network providers do not support second-level domain names. Please confirm with the network provider before creation.

Wordpess setting requirements
Wordpress3.0 does not support WordPressProgramCreate a network separately from the blog because it is in conflict with the user's blog form.
You cannot create a network in the following cases
Wordpess address and site address are different
The wordpess address does not use port 80 or port 443.
Subdomain name networks cannot be created in the following cases
Install wordpess in a subdirectory (instead of the root directory)
The wordpess address is localhost.
The wordpess address is a local IP address like 127.0.0.1.
Sub-directory networks cannot be created in the following cases
If your wordpess has been installed for more than a month, many links may cause problems (which will be improved in future versions)

Step 1: Back up the original site
The site will be upgraded when the network is created. Back up site data.
Step 2: Set sub-domain names
(Skip this step if subdirectories are used)
The following settings are required for a subdomain site:
1. the Apache server should accept subdomain name settings
1. Open httpd. conf.
2. Add the following sentence:
Serveralias * .example.com
2. Add a subdomain name to the DNS record, as shown in figure
A * .example.com
Step 3: Allow multiple users
Open wp-config.php and add the following statement:
Define ('wp _ allow_multisite ', true );
Step 4:
Set in management-tools-network.

This article is intended to translate and supplement NLP. If you have any questions, contact the original author. Or go to www.xinongda.com/blog.

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.