6 min read

How to Migrate From WordPress.com to WordPress.org

Shashank Dubey
Content & Marketing, Wbcom Designs · Published Aug 20, 2021 · Updated Nov 7, 2026

If you started a blog on WordPress.com and now want full control over themes, plugins, monetization and hosting, the move to self-hosted WordPress.org is a well-trodden path. You export your content from WordPress.com, set up WordPress on your own hosting, import the file and then check that everything came across. This guide walks through each step, and flags the parts that most often go wrong.

Last updated: 7 November 2026

Quick answer

To migrate a WordPress.com blog to WordPress.org, go to Tools > Export on WordPress.com, choose All content and download the XML file, install WordPress on your own hosting, then use Tools > Import > WordPress (WordPress Importer plugin) on the new site to upload that file. The export includes posts, pages, comments, categories and tags, with links to your media, but not your theme or plugins. Keep the old site public until the import has finished.

WordPress.com vs WordPress.org

WordPress.org is the open source WordPress software that you install on your own hosting, so it is called self-hosted WordPress. The software is free, and you pay for a domain name and web hosting. WordPress.com is a hosted service built on the same software, where plans decide which themes, plugins and tools you can use. Moving to WordPress.org gives you ownership of the files, the database and the choice of hosting.

Before you start, you need two things: web hosting to store your site’s files and a domain name that points to them. If you want to compare other methods of moving a site, our roundup of WordPress migration plugins covers them.

Migration checklist at a glance

StepWhereWhat moves
1. ExportWordPress.com, Tools > ExportPosts, pages, comments, categories, tags and links to media in an XML file
2. Set up the new siteYour hosting accountA fresh WordPress install
3. ImportNew site, Tools > Import > WordPressContent from the XML file
4. Links (optional)OPML file and Blogroll importerBlogroll links
5. Retire the old siteWordPress.com settingsNothing, this stops the old site from competing

1. How to export your content from WordPress.com

Migrate WordPress.com

  • Log in to your WordPress.com account and open the dashboard of the site you want to move.
  • Go to Tools > Export.
  • Choose All content, or select specific content types.
  • Click Download Export File. WordPress.com’s export guide says the file is ready in about one to two minutes.

The file is in XML (WXR) format. It contains posts, pages, comments, categories and tags, plus links to your media. Two details catch people out:

  • Media is not inside the file. The guide states that the export file does not contain your media library. It holds instructions for the new site to copy images from your original site, so keep the old site public until the import has finished. WordPress.com also offers a separate media library export.
  • Design and plugins do not move. The export does not include your theme design, customizations or plugins, so you will pick and configure a theme on the new site.

For very large sites (roughly over 1,000 posts or pages), WordPress.com emails you a .zip containing several XML files, and you import each file one at a time. The export steps list no plan requirement. Full-site backups on WordPress.com are a separate feature available on higher plans.

2. How to set up your new WordPress.org site

Install WordPress on your hosting account. Most hosts have a one-click installer in their control panel (cPanel on Bluehost, for example): choose your domain, enter the site title and an admin username and password, and run the install. Log in to the new dashboard when it finishes.

  • Pick the same permalink structure you used on WordPress.com under Settings > Permalinks, so post URLs match as closely as possible.
  • Install the theme you plan to use before you import, so you can check the result right away.
  • Do the import on a fresh install, before you publish anything new.

3. How to import your data into self-hosted WordPress

Migrate WordPress.com

  • In the new site’s dashboard, go to Tools > Import.
  • Choose WordPress. The WordPress.org Tools Import screen documentation says this imports posts, comments, custom fields, pages and categories from a WordPress export file.
  • If prompted, install and activate the WordPress Importer plugin.
  • Choose the XML file from your computer and click upload.
  • Assign the imported content to an existing user or create a new one, and let the importer download file attachments if that option is shown.

The WordPress Importer imports posts, pages and other post types, comments, custom fields, categories, tags and authors. If the import stops with a memory error or a blank screen, the plugin’s page says the host’s PHP memory limit may be too low. Raise it, ask your host for help, or split the XML file into smaller pieces and import them one by one.

4. How to import blogroll links

migrate wordPess.com

If you used links or a blogroll on WordPress.com, export them as an OPML file and save it to your computer. Then, on the new site, go to Tools > Import and choose Blogroll. WordPress will offer to install the OPML Importer if it is not already there. Upload the OPML file to bring your links across. Skip this step if you never used links.

5. What to check after the import

  • Open several posts and confirm images display and are now stored in your own Media Library.
  • Check that categories, tags, pages and comments are present and counts look right.
  • Check your menus and widgets, and rebuild any that did not come across, since they depend on the theme you chose.
  • Install the plugins you need, such as an SEO plugin, a caching plugin and a backup plugin.
  • Test your top landing pages on desktop and mobile.

6. How to retire your old WordPress.com site

migrate wordPress.com

A new site does no good if your readers and search engines keep landing on the old one. Once you have confirmed that everything came across, including the images, change the old WordPress.com site’s visibility in its settings so it no longer competes with the new one, and point readers to the new address. Do this last, because the import needs the old site to stay public until your media is copied. If your old posts are indexed, plan redirects from the old URLs to the new ones. Our guide on migrating to WordPress without losing SEO ranking covers the redirect and checking steps.

Frequently asked questions

Can I move from WordPress.com to WordPress.org for free?

The WordPress software is free, and the export and import tools do not cost anything. You still need a domain name and web hosting for the new site, which are paid services. The export steps in WordPress.com’s guide list no plan requirement.

Will my images move with the export file?

The file holds links, not the images themselves. The importer copies your media from the original site during the import, so keep the old site public until the import is complete.

Will my theme and plugins come across?

No. According to WordPress.com, the export does not include your theme design, customizations or plugins. Choose and install a theme and the plugins you need on the new site.

What if my site is very large?

For roughly over 1,000 posts or pages, WordPress.com emails a .zip of several XML files, which you import one at a time. If the importer runs out of memory, ask your host to raise the PHP limit or split the file.

How long does the migration take?

The export itself takes a minute or two according to WordPress.com. The total time depends on the size of your site and on setting up hosting, a theme and redirects, so allow extra time for checking.

Will I lose my search rankings?

The risk is lower if you keep your URLs the same or set up redirects from the old addresses to the new ones, and check the results after launch. Rankings can shift temporarily when a site changes address.

Shashank Dubey
Content & Marketing, Wbcom Designs

Shashank Dubey, a contributor of Wbcom Designs is a blogger and a digital marketer. He writes articles associated with different niches such as WordPress, SEO, Marketing, CMS, Web Design, and Development, and many more.

Related reading