修改wordpress地址

原来只是想用wordpress记下日志,在安装docuwiki整理文档。现在用windows live wirter配合wordpress,再结合wordpress方便的标签和页面功能,基本可以满足要求。原来设计的:

http://marshal.easymorse.com/blog

想改为:

http://marshal.easymorse.com

修改步骤为:

修改设置中的wordpress地址Blog地址两项内容;

修改图片链接(wordpress的日志中保存了图片完整链接):

update wp_posts set post_content =
replace (post_content,
‘http://marshal.easymorse.com/blog/’
,’http://marshal.easymorse.com/’)

如果使用wordtube,还需要运行上述SQL命令到wp_wordtube表,针对file和image字段,也可以通过wordpress管理界面wordtube部分修改。

再到apache/sites-available/目录下修改相应的apache网站配置文件。

    测试了一下,到目前运行正常。

    另外就是需要在windows live writer的工具帐户中修改原来帐户配置的url。

    創建PDF格式    发送文章为PDF   

    这篇文章上的评论的 RSS feed TrackBack URI

    Leave a Reply