简体   繁体   English

如何将wordpress迁移到没有数据库文件的新服务器?

[英]How to migrate wordpress to new server without database files?

I only have the main wordpress files from my old site and the xml file for the posts and pages. 我只有旧网站的主要wordpress文件和帖子和页面的xml文件。 Is this all I need to put the site on a new server? 这就是我需要将网站放在新服务器上吗? Or do I need to import the database from the other server? 或者我是否需要从其他服务器导入数据库?

  1. Having the database is ideal as it will have all your plugin and administration settings in it. 拥有数据库是理想的,因为它将包含所有插件和管理设置。
  2. The XML export file has the post and page content (but not images and files attached to them). XML导出文件具有帖子和页面内容(但不附加图像和文件)。
  3. You'll also want to make sure you have all the content in the uploads folder, images and files that were uploaded into the Wordpress admin. 您还需要确保上传到Wordpress管理员的上传文件夹,图像和文件中包含所有内容。

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

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