<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Wordpress Mu on 空想枫</title>
    <link>http://it580.com/tags/wordpress-mu/</link>
    <description>Recent content in Wordpress Mu on 空想枫</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>&amp;copy; 2001-2020 空想枫</copyright>
    <lastBuildDate>Sun, 23 May 2010 00:14:14 +0000</lastBuildDate>
    
	<atom:link href="http://it580.com/tags/wordpress-mu/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Post_id和PostName</title>
      <link>http://it580.com/e4-bb-8epost-id-e5-88-b0postname/</link>
      <pubDate>Sun, 23 May 2010 00:14:14 +0000</pubDate>
      
      <guid>http://it580.com/e4-bb-8epost-id-e5-88-b0postname/</guid>
      <description>从原来的wordpress迁入Wordpress mu时候，将这个站点从Post_id改为PostName的链接方式。 由于我的大部分浏览量来自搜索引擎，导致到今天为止，每天浏览量都在原来的30%左右。 没有办法，从PostName继续回到Post_id。</description>
    </item>
    
    <item>
      <title>WordPress 迁移到 WordPress MU</title>
      <link>http://it580.com/wordpress-e8-bf-81-e7-a7-bb-e5-88-b0-wordpress-mu/</link>
      <pubDate>Mon, 03 May 2010 16:46:14 +0000</pubDate>
      
      <guid>http://it580.com/wordpress-e8-bf-81-e7-a7-bb-e5-88-b0-wordpress-mu/</guid>
      <description>最近将部分小的博客站从分散的WordPress，迁入到统一的WordPress MU中,内文为我采用的迁移方式。
由于我希望保留原有各个分散WordPress的域名，因此首先要将it580.com的泛域名解析指向新的空间。在it580.com上安装完成WordPress MU，并使用子域名方式。
在WordPress MU上新建博客，例如hz1.it580.com，并记下它的Blog id。
从原博客，例如hz.it580.com，使用导出功能，导出.xml文件。
到新的博客，例如hz1.it580.com，使用导入功能，导入刚才导出的文件，记得勾选导入附件。
到mysql命令行界面，当然你也可以使用phpmyadmin，执行如下命令:
 use wordpressmu; update wp_2_posts set guid=REPLACE(guid,&amp;lsquo;http://hz1.it580.com&#39;,&#39;http://hz.it580.com&#39;);
update wp_2_posts set post_content=REPLACE(post_content,&amp;lsquo;http://hz1.it580.com&#39;,&#39;http://hz.it580.com&#39;);
 注释1:wordpressmu为你安装时设置的数据库，命令中数据表名中的2为blog id，请替换为你的blog id。
删除hz.it580.com的域名解析A记录。
登录WordPress MU的管理后台，将hz1.it580.com 博客地址修改为 hz.it580.com 。
等域名解析广播完成后，网站迁移完成。</description>
    </item>
    
  </channel>
</rss>