Skip to content

Commit

Permalink
更新自述文件
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiyuan committed Aug 8, 2019
1 parent cfb1d52 commit 1ea12a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -17,11 +17,12 @@

## 使用方法
在Typecho上启用插件后,依次点击:控制台->数据导出->导出XML文件,下载并保存此文件。
在WordPress上运行WordPress导入工具,导入前面下载的XML文件。
在WordPress上运行WordPress导入工具,导入前面下载的XML文件。
WordPress导入工具的运行方法见下图:
![image](https://github.com/ibadboy-net/ByeTyp/blob/master/image/wp.png)

## 后续步骤
将Typecho站点中的/usr/uploads目录迁移到WordPress的/wp-content目录下。
在数据库中替换图片资源路径,执行以下SQL语句:
```sql
UPDATE wp_posts SET post_content = REPLACE( post_content, '/usr/uploads/', '/wp-content/uploads/');
Expand Down

0 comments on commit 1ea12a5

Please sign in to comment.