【发布时间】:2013-02-14 05:55:08
【问题描述】:
我最近将我的旧 wordpress.com 博客移到了使用我自己的域名的自托管博客中。到目前为止,我已经完成了这些事情。
- 转移了我的旧文章和帖子。
- 已安装并激活 Jetpack 插件。
- 在 wordpress 支持团队的帮助下转移了我以前的博客关注者。
现在我想将我的旧博客站点统计信息转移到新站点中。有可能这样做吗?至少有解决办法吗?
提前致谢
【问题讨论】:
标签: php wordpress blogs jetpack
我最近将我的旧 wordpress.com 博客移到了使用我自己的域名的自托管博客中。到目前为止,我已经完成了这些事情。
现在我想将我的旧博客站点统计信息转移到新站点中。有可能这样做吗?至少有解决办法吗?
提前致谢
【问题讨论】:
标签: php wordpress blogs jetpack
【讨论】:
我个人不使用 Jetpack 进行统计,但深入研究 jetpack 似乎统计数据是根据域名传输的。
参考:
http://en.forums.wordpress.com/topic/moving-jetpacked-wporg-installation-to-another-site
所以从技术上讲,只要您拥有相同的 mysite.com 地址,它就应该保留统计信息。
至于将 wordpress 转移到您自己的服务器上,我已经做过几次了,似乎最适合我的是这个过程。
来自旧服务器:
Export MySQL database
Copy the whole file directory
来自新服务器:
Install a copy of Wordpress on your server (just to create the DB and file structure)
Empty the newly created MySQL DB and import the database from the Old Server.
Copy/Replace all files from the old server to the new one except for wp-config.php (since it has new credentials)
Lastly I go into wp-admin -> Settings and save the permalinks to have it resetup the .htaccess
希望这会有所帮助。
【讨论】: