简体   繁体   English

使用mysql将所有博客文章转移到另一个wordpress数据库

[英]Transfer all blog posts to another wordpress database using mysql

i would like to get just the blog posts from "blog a" and transfer it to "blog b", blog b has some existing posts in it and i would like to add the posts from a to b using mysql. 我想从“博客”中获取博客帖子并将其转移到“博客b”,博客b中有一些现有帖子,我想使用mysql将帖子从a添加到b。

edit: btw, is there any way i can also use the importer to transfer all my uploaded images? 编辑:顺便说一句,有什么办法我还可以使用导入器来传输我上传的所有图像?

You don't have to use MySQL; 你不必使用MySQL; it can get a bit tricky. 它可能会有点棘手。

Why don't you use the Wordpress Import feature ? 为什么不使用Wordpress导入功能

If the permalinks are setup the same such as 如果永久链接设置相同,例如

/%category%/%postname%

Then you could just zip up all the image folders from Blog A and reupload these images onto the web server on Blog B and extract into the appropriate folder (wp-content/uploads) 然后你可以从Blog A压缩所有图像文件夹,然后将这些图像重新上传到Blog B上的Web服务器上并提取到相应的文件夹(wp-content / uploads)

I've had some great success in the past with the WP Import Tool plugin, it did take it's time, but copied roughly 400mb worth of images, posts, categories, pages from a Wordpress.com site to a domain level site. 我在过去使用WP导入工具插件取得了一些成功,它确实花了很多时间,但是将大约400mb的图像,帖子,类别,页面从Wordpress.com网站复制到域级网站。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM