In this post we’re talking about one of 2 methods to migrate a website from WordPress to Sitefinity. This method is called “The 3-Step Export”.
WHAT’S INVOLVED IN THE 3-STEP EXPORT?
This method involves exporting content from the current WordPress site in 3 categories: Blog Posts, Pages and Users. Each of these contains data, which must be transferred from within WordPress to within Sitefinity.
Method 1 is more work than Method 2 (below), but since it is in 3 parts, it’s easier to verify that the content you want to preserve is preserved.
Step 1: Blog Posts – Use a blog export tool.
Thankfully, exporting content from a blog is relatively easy. We even have a couple export tools specifically intended for migrating posts into Sitefinity!
I do NOT suggest searching the WordPress Plugins database for an export tool, unless these two do not work. The WordPress plugins are mostly designed for exporting WordPress posts for transfer to another instance of WordPress. Not another CMS, like Sitefinity.
One potential snag here is that, since WordPress stores content as blog posts by default, you may end up with “everyday” content in a Sitefinity Blog instead of a Page.
To avoid this as much as possible, you may need a developer to modify the Sitefinity Blogs API. This way you can exclude as many “everyday” WordPress content items from Sitefinity’s Blogs import as possible.
Documentation for the Blogs API is here: http://www.telerik.com/help/sitefinity/developer-manual/generic-content-based-blogs-api-overview.html
Step 2: Pages – Export from WordPress, Import as Generic Content Blocks.
If you have content in WordPress pages, they will translate well to Content Blocks in Sitefinity. Think of Content Blocks like puzzle pieces in this case. With a little management, you can “assemble” content blocks into new webpages within Sitefinity.
The management however, may be a bit tricky. If the pages contain code influenced by WordPress, that has to be stripped out or it’ll make the new Sitefinity Pages look wacky. You can automate the code stripping using Sitefinity’s Generic Content API though.
Step 3: Users – Export as CSV, use a custom tool to build new users in Sitefinity.
WordPress Users are the system’s user accounts. If you only have a few Users, this step is not necessary. You can just re-create those user accounts in Sitefinity.
If you have a lot of WordPress users though, it may save you time to export them all at once and import them into Sitefinity.
In this case I will break with previous steps. There is a WordPress plugin which exports users: Export Users to CSV. I tested it on this very blog; it exported the users perfectly.
Once you have the Users list in .CSV, how do you get it into Sitefinity? According to this forum thread, you have two possible methods:
- Create a custom membership provider, and use the users from the other system
- Use the API to create the users in Sitefinity
Links to perform these tasks are included in the thread.
You’ll notice that each of these steps involves input from a web developer, at some point. That’s because a web developer will save you time during the migration. You could do most of this yourself, sure. But it’s not recommended; you don’t want to run the risk of pressing the wrong button and wiping out all the work you did!
Come back next week for Migration Method 2: Database Transfer. Easier in some ways, but it has its own potential for issues. Join us & find out what’s involved.