| 开发者 |
ecreateinfotech
gb071 |
|---|---|
| 更新时间 | 2026年10月21日 12:16 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0+ |
| 版权网址: | 版权信息 |
your-blog-post.zip
html/ your .html, .htm and .xhtml pages
images/ optional: the pictures those pages use
docx/ your Word files, pictures and all
pdf/ your PDF files, pictures and all
Your ZIP does not have to look like that. Any folders work, including the ones your old site already uses, and files in the root of the ZIP are fine too. Folders only keep your files tidy; they do not change what is imported. The upload screen shows this as well, so you do not have to remember it.
Pictures look after themselves. A web page has its pictures fetched from the address it points at, or taken from the ZIP if you kept the images folder in there. Word and PDF files carry their pictures inside them. Everything else, such as stylesheets and scripts, is ignored and never written to your server.
Try it with the sample files
The upload screen has a Download the sample ZIP button. It gives you a small archive with one folder per kind of file, and nothing else in it:
Put the files in a ZIP and upload it on Tools, Import HTML Files. Everything that can be read becomes a post, and you tick the ones you want before anything is created. There is no limit on how many files a ZIP can hold: they are read a few at a time, so a big import does not time out.
Yes. Posts are what you get unless you change it. One setting on the upload screen switches the whole import to pages, which is what you want when you are rebuilding a website rather than a blog.
Put the site's HTML files in a ZIP, keeping the folders as they are, and upload it on Tools, Import HTML Files. The importer reads every file, shows you what it found, and creates posts or pages for the ones you approve. The file names become the addresses, so your old links can be redirected to the new ones.
Yes. Put your .docx files in a ZIP and upload it. Word heading styles become headings, lists stay lists, and pictures in the document are copied into the media library. Old .doc files have to be saved as .docx in Word first.
Yes, with the caveat above: a PDF has no headings or paragraphs stored in it, so the structure is worked out from the text size and position. You see the result in the review list before anything is created. A scanned PDF cannot be read at all and is reported rather than imported.
Three kinds of file become posts: .html, .htm and .xhtml web pages, .docx Word documents, and .pdf files with text in them. Pictures come along with the documents that use them, either from the ZIP or fetched from the address a page points at, in .jpg, .jpeg, .png, .gif, .webp, .avif, .bmp or .ico. Anything else, including stylesheets, scripts and .php files, is ignored. The upload screen lists all of this, so you do not have to remember it.
Yes. The upload screen has a button that gives you a sample ZIP with three folders in it: html, docx and pdf, each holding a file of that kind. Upload that and you can see the whole import, including the review screen, in about a minute. Nothing is created until you approve it, and the finished screen can undo the whole thing.
No. Files are read into a review list and nothing is created until you press the import button. Imported content is saved as drafts by default, so an import can never put something live by accident.
Yes, if Elementor is active. Pages can be built as Elementor widgets: headings become heading widgets, text becomes text editor widgets, and images become image widgets. Elementor is never required.
They are removed. The importer finds the main block of writing on each page and leaves the parts that repeat on every page behind, which is almost always what you want. If it gets it wrong on an unusual site, the advanced panel lets you say which element holds the content.
Links between the pages you import are rewritten to the new addresses automatically. Because the file name becomes the slug, you can also redirect the old addresses to the new ones with any redirect plugin.
Split it into a few smaller ZIPs and import them one after another, or ask your host to raise the upload limit. The screen shows the largest upload your server allows.
No. Nothing you upload leaves your server, there is no tracking of any kind, and the uploaded files are deleted when the import finishes or is cancelled. The one time the plugin talks to another server is during an import you have started: when a page points at a picture by its full web address, that picture is fetched so it can go into your media library. It is fetched through WordPress's own safe request function, which refuses addresses on private networks, and you can turn it off in the advanced settings, in which case the page simply keeps pointing at the old address.