从wordpress转换typecho方法:
-
首先安装typecho(转换前请将所有数据备份)
-
安装插件转换插件wordpress-to-typecho,插件地址:docs.typecho.org/plugins/wordpress-to-typecho
-
启用插件,设置好数据等信息,将wordpress数据库导入typecho
-
移动附件,将wordpress的wp-content/uploads目录下的附件移动到typecho的usr/uploads目录下,然后在phpmyadmin中执行update typecho_contents set text=replace(text,'wp-admin/uploads','usr/uploads')
enjoy it!
Nginx下typecho rewrite规则:
location / { index index.html index.php; if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index.php; }}
原创文章,作者:FUQWL,如若转载,请注明出处:http://www.wangzhanshi.com/n/10320.html