wordpress波浪分割
WordPress comes with built in import/export functionality that allows you to import or export your WordPress posts in XML format. When moving your site from WordPress.com to WordPress.org and in other transfer scenarios, sometimes these export files are larger than your web host’s upload limit. In those cases, you really have two options. You can either ask your WordPress web hosting provider to increase your maximum upload limit. The second option is to simply split your large XML files into multiple smaller files, so you can upload them one by one. In this article we will show you how to split large XML files in WordPress.
WordPress带有内置的导入/导出功能,可让您以XML格式导入或导出WordPress帖子。 在将您的站点从WordPress.com移至WordPress.org以及其他传输方案时,有时这些导出文件大于您的虚拟主机的上传限制。 在那种情况下,您确实有两个选择。 您可以要求WordPress虚拟主机提供商提高您的最大上传限制 。 第二种选择是简单地将大型XML文件拆分为多个较小的文件,以便可以将它们一个接一个地上传。 在本文中,我们将向您展示如何在WordPress中分割大型XML文件。
自动分割大型WordPress XML文件 (Automatically Split Large WordPress XML Files)
Even though you can manually split your large XML files by creating multiple XML files with the same header, category, and footer information and dividing the rest of the items. But who has time for that? There are really nice free tools that allows you to split your XML files with just a few clicks.
即使您可以通过创建具有相同页眉,类别和页脚信息的多个XML文件并划分其余项目来手动拆分大型XML文件。 但是谁有时间呢? 有非常好的免费工具,使您只需单击几下即可拆分XML文件。
For Windows users, there is a tool called WordPress WXR File Splitter. Download and run this utility. When you run this program, you will see a screen like this:
对于Windows用户,有一个名为WordPress WXR File Splitter的工具。 下载并运行该实用程序。 当您运行该程序时,您将看到如下屏幕:
Click on the open WXR file button to open your WordPress XML file. This tool will then read your XML file and show you some useful information about the data in it. It will get the header, the footer, and it will show you the number of items in the file.
单击“打开WXR文件”按钮以打开WordPress XML文件。 然后,该工具将读取您的XML文件,并向您显示有关其中数据的一些有用信息。 它将获得页眉,页脚,并向您显示文件中的项目数。
You can adjust the size limit for when you split your large file into smaller ones. Alternatively, you can provide the number of files you want this to be split into. Either way, the goal is to get the files to be small enough, so you can upload it on your host without surpassing the limits. Finally when you are ready, press Split Files button, and it will split the files and store them in the same folder as your original WordPress XML file.
您可以调整将大文件拆分为较小文件时的大小限制。 或者,您可以提供要将其拆分为多个文件。 无论哪种方式,目标都是使文件足够小,这样您就可以在主机上上传文件而不会超出限制。 最后,当您准备就绪时,请按“拆分文件”按钮,它将拆分文件并将它们存储在与原始WordPress XML文件相同的文件夹中。
For all you Mac users, you are not left out. There is a similar WordPress WXR Split utility available for Mac users. It does the same thing, splits large XML file into smaller file sizes.
对于您所有的Mac用户,您都不例外。 Mac用户可以使用类似的WordPress WXR Split实用程序 。 它执行相同的操作,将大型XML文件拆分为较小的文件大小。
We hope that this article helped you split your large WordPress XML files, so you can import them into your WordPress. Let us know if you have any questions by leaving a comment below.
我们希望本文能帮助您拆分大型WordPress XML文件,以便将其导入WordPress。 如果您有任何问题,请在下面发表评论,让我们知道。
翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-split-large-xml-files-in-wordpress/
wordpress波浪分割