简体   繁体   English

如何从Google App Engine迁移Wordpress

[英]How can I Migrate Wordpress off of Google App Engine

There are dozens of articles for migrating a Wordpress install TO Google App Engine, but I can't find any to migrate it FROM GAE to something like WPEngine. 关于将Wordpress安装迁移到Google App Engine的文章很多,但我找不到将其从GAE迁移到WPEngine之类的文章。

I'd simply love to UpdraftPlus to do it, but I can't create a backup because the filesystem is not writeable in GAE. 我只是喜欢UpdraftPlus来做,但是我不能创建备份,因为文件系统在GAE中是不可写的。

I could simply use a copy of the database dump and my local version of the filesystem, but that loses all the remote uploaded images that I created. 我可以简单地使用数据库转储的副本和文件系统的本地版本,但这会丢失我创建的所有远程上载映像。

Also, I don't really know how to "undo" many of the GAE configurations that have to do with the filesystem, uploads, database connectivity, etc. If I change the db credentials and deactivate the GAE plugin, will my site just work? 另外,我真的不知道如何“撤消”许多与文件系统,上载,数据库连接等有关的GAE配置。如果我更改数据库凭据并停用GAE插件,我的网站是否可以正常工作?

Thanks! 谢谢! Lou

For anyone else experiencing the same issue, I did the following and it was really quite simple: 对于遇到相同问题的其他人,我做了以下事情,这确实非常简单:

  1. uploaded the wp-content folder from the source GAE folders (on my local machine) to the new host 将wp-content文件夹从源GAE文件夹(在我的本地计算机上)上传到新主机
  2. used the native 'export' feature in the Wordpress admin: /wp-admin/export.php 在Wordpress管理员中使用了本机“导出”功能:/wp-admin/export.php
  3. used the import feature in the Wordpress admin (you do have to install a plugin): /wp-admin/import.php 在Wordpress管理员中使用了导入功能(您必须安装插件):/wp-admin/import.php
  4. Went through and activated my theme and my plugins 通过并激活了我的主题和插件
  5. Updated all my settings on all my pages 更新了我所有页面上的所有设置

Then I had to edit my function.php and header.php files as they included a few hardcoded references to IDs (posts, pages, categories). 然后,我不得不编辑我的function.php和header.php文件,因为它们包含一些对ID(帖子,页面,类别)的硬编码引用。

After that, it was done! 之后,就完成了!

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

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