This article is a continuation of a previous article that I wrote titled Migrating Blog Content and Assets from SquareSpace to WordPress. That article showed you how to actually get the content of the blogs from SquareSpace into WordPress. This article show you how to get the files and images.
Install Firefox and the DownThemAll Extension
There is an extension for the Firefox Browser called DownThemAll. This extension allows you to batch download files which are linked to in a web page. Install the DownThemAll extension – this will be the quickest way to get this job done. You can manually grab all the files and migrate them too, but if you have a lot of files, I don’t recommend it.
Get all images and files
Before you start, keep in mind that DownThemAll does not enter directories and take images from inside them. It only takes files that are in the current page. Not only does it take images, but if you tell it to, it will download every link on the page, including web pages. Because I wanted this job to be done fast and was not worried about taking 10 Megabytes of disk space, I told it to download everything. After that, I entered a sub directory on the page in the list, and downloaded those images one-by-one since there were only a few in each directory.
- Open Firefox (and make sure the DownThemAll extension is in installed)
- Sign into the backend of your SquareSpace site at http://yoursite.squarespace.com/display/Login
- Click on the “Website Management” tab
- Click on “File Storage” under the Data and Media category
- Right-click your mouse in an empty part of the page and select DownThemAll
- Set the path where you want the files to be downloaded (I created a directory on my desktop and named it website.com)
- Create a directory inside the website.com directory called “storage”
- Check all of the boxes in the DownThemAll window and click “Start”
- Inside of your “storage” directory, create a sub-directory with the same name as any sub-directories in your SquareSpace file list (if applicable)
- Enter each sub-directory in the web page and download those files all to the sub-directory you created in the storage directory
Now that all of your assets are downloaded and the directory structure is the same as it was on the SquareSpace site, you can copy the whole storage directory to the root of your WordPress installation (or the root of the multi-site installation where WordPress treats a directory as the root of an individual site; in my case, each migrated site has it’s own root at /var/www/migrated-content/website.com/)
Here’s the command I used to put the storage directory on the web server: