Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
For people who seriously do personal site, WordPress's multi-site features WordPress network has brought a very good news. At least build a station group without each station must install a wordpress, theme, Plug-ins and so on. Also will not occupy much space and server resources, management cost is also greatly reduced.
WordPress multi-site All sites are shared themes and plug-ins, while each station can be personalized application. Plus the child station can bind the independent domain name, this is very good thing. If you want to build a Web site like a blogging platform, let your users build their own pages, or you want to build a couple blog with your girlfriend, enable WordPress multi-site is a must choose the road, of course, you have to bind for her independent domain name, otherwise that is to break up the matter, hehe.
WordPress Multi-site feature is not open by default, you need to do it yourself (please do a variety of backup work first):
1. First modify the WordPress root directory under the wp-config.php this file, put "define (' Wp_allow_multisite ', true);" This code is added, WordPress's official recommendation is added to/* That's all, stop editing! Happy blogging. * * Above the code, and then save it.
2. Then login to the WordPress Control Panel, there will be a "Configure the network" option to enter and follow the prompts to disable all plug-ins, the
"Define (' multisite ', true);
Define (' Subdomain_install ', true);
$base = '/';
Define (' Domain_current_site ', ' iguitar.info ');
Define (' Path_current_site ', '/');
Define (' Site_id_current_site ', 1);
Define (' Blog_id_current_site ', 1);
Add to wp-config.php File/* That's all, stop editing! Happy blogging. * * Before this code, save the file.
3. Add the following code to the. htaccess file and overwrite other WordPress rules.
"Rewriteengine on
Rewritebase/
Rewriterule ^index.php$-[L]
# uploaded files
Rewriterule ^files/(. +) wp-includes/ms-files.php?file=$1 [L]
Rewritecond%{request_filename}-F [OR]
Rewritecond%{request_filename}-D
Rewriterule ^–[l]
Rewriterule. index.php [L] "
4. During the installation of the child station will be prompted to choose to use a child domain name or subfolder for the new site to install, if prompted to be sure to install in a way to do so, if you choose the sub domain name way to install, please be sure to do a pan-domain name resolution, For example, your main domain name is youname.com, then the pan domain name resolution is *youname.com. Universal Domain name Resolution requires your host support.
5. Finally is the child station independent domain name binding work, please completes the domain a record first. We are here to use the WordPress official recommended WordPress MU Domain mapping plug-ins. After you install the plugin, after domain mapping configuration option binding host IP address, in the Domain name option to bind the site ID and the domain name bound together on the OK, it is important to note that this step of work, must be with the www. The beginning and the beginning of the WWW are bound (www.youname.com/ youname.com), otherwise there is no bound to access, and jump to the main station.
6. After the successful establishment of the sub-station, all the site's fixed links will be changed, please manually change the original fixed link back on it, if the use of WordPress before the site to open the default fixed link mode, there will be no change in this step.
Author of the original article, Polo Marco, Bo Marco's blog Http://boromeke.com published, reproduced please retain the source, thank you!