During my internship, I encountered a company that had a large number of articles in the company and needed to migrate the whole wordpress platform server, so I was entrusted with this relatively simple task. The entire wordpress content is about 10 GIGABytes, involving more than 600 articles in the server, as well as thousands of pictures. There are many ways to migrate wordpress.

Three wordpress migration methods

  1. Easy wordpress migration with wordpress import/export
  2. Installing and migrating wordpress
  3. WordPress site migration of above three methods detailed you can refer to this post: www.cnblogs.com/guanzelin/p…

The above three ways, more or less there will be pits, and sometimes it will be very troublesome, many uncontrollable factors. For me this kind of person who likes to be lazy, of course, is to want a way to save time and effort.

All-in-one WP Migration plugin

This plug-in needs to be installed on both the pre-move wordpress site and the post-move wordpress site, one as an export and the other as an import.

After installing the plugin with wordpress, activate the plugin and click Export here. The plugin will automatically generate a “. WordPress “file.

However, this plug-in, made by a foreign team, can only be 500M, the size of more than 500M need to charge.

The site I need to move to is 10GB, so definitely not. But looking at the source code of their plug-in, you can see that they have a control that defines fields for size caps. That’s in the constants.php file

define( 'AI1WM_MAX_CHUNK_SIZE', 5 * 1024 * 1024);Copy the code

This part, you can just make this part whatever size you want, say, 20 grams

define( 'AI1WM_MAX_CHUNK_SIZE', 40 * 5 * 1024 * 1023);

Copy the code

This way you can use this plugin perfectly! However, this hack only worked on v6.77 and older versions, and they have now discovered the problem. So we need to use an older version of the plug-in. And it doesn’t update. Here is the download address of the older version

Download address: link: pan.baidu.com/s/1Zq2ZQbeL… Password: bm06

If it helps you, give it a thumbs up