How-to
Move a Webflow site's files into Assets
A Webflow site moved before version 0.8.6 has its images, documents and videos in a folder the Assets screen in the new instance's admin does not show, so editors cannot find them. This action moves them to the webflow folder of Assets, the place a site moved with version 0.8.6 or later has them, and keeps every page working.
Who sees it
An owner, on the Close step of Launch, for a Webflow migration whose load ran before version 0.8.6. A closed migration has it too. Operators and viewers do not see it.
How to move the files
- Press Preview the move. If the migration no longer holds a key for the new site, because it was closed, the tool asks for one, as the connect page does. The key is used for this move only and removed when the move is finished. The old site is not needed and is never read.
- Read the preview. It lists every file and where it goes, the files that are not moved and why, and how many pages, layouts, stylesheets and records name the files. Nothing has changed yet.
- Press Move the files. The tool copies each file into Assets, points everything that names it at the copy, then opens every page of the site and checks each image. Keep the page open until it says it is done; if it stops, press Carry on.
- When every page checks clean, choose Remove the old copies and type
REMOVE, or Keep the old copies. Either is fine: the pages use the copies in Assets.
What changes
| Part | What happens |
|---|---|
Images, documents and videos in assets/webflow/ and assets/webflow/cms/ | Copied to Assets, in ins_assets/webflow and ins_assets/webflow/cms, each named and marked the way the Assets screen's own uploads are, so it is listed with its size. |
| Stylesheets, scripts and fonts | Stay where they are. A stylesheet that names an image is changed to name the copy, and every page and layout that loads it gets its new integrity value, so browsers still accept it. |
| Pages, layouts and partials | Each address of a moved file, written with asset_url or written out in full, names the copy. |
| Records | Every value in the site's databases that names a moved file, such as an image inside rich text, names the copy. |
| A file whose name Assets already uses for another file | Not moved, and named in the preview. Creating it would move that other file. |
The check, and the old copies
After the move, the tool opens every page with an address and every item page of each collection, and asks for every image the page and its stylesheets load from the new site. An image that does not open, or a page that still names an old copy, fails the check. Images from other services are not asked about.
The old copies are removed only after a check that passes, and only when you confirm. If the check fails, nothing is removed: fix what it lists, then press Check again, or keep the old copies. If a file could not be copied, nothing is pointed at the copies and the site uses the old copies as before.
Every step, the preview included, is recorded in Activity.