Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared Managed Cloud India
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Best lists Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Hosting · Guide

How to Move From WordPress.com to Self-Hosted WordPress

Short answer

To move from WordPress.com to self-hosted WordPress, export your content at Tools, then Export, install WordPress on a hosting plan you control, and import the XML file at Tools, then Import, with the WordPress Importer. The export moves posts, pages, comments and categories, but not your theme or plugins. Redirect the old .wordpress.com address with WordPress.com's Site Redirect so visitors and search engines find the new site.

Key takeaways

  • The WordPress.com export is an XML file with posts, pages, comments, categories, tags and menus.
  • Themes, plugins and settings never move with the export. Rebuild them on the new site.
  • Tick Download and import file attachments so your images copy over from the old site.
  • WordPress.com's Site Redirect costs $13 per year and forwards every old link to the new site.
  • Set the new site's permalinks to Day and name before you redirect, so old post links keep working.

What is the difference between WordPress.com and self-hosted WordPress?

WordPress.com is a hosted service run by Automattic that includes hosting, while self-hosted WordPress means you install the free WordPress software on a host you choose.

On WordPress.com, Automattic runs the servers and limits what you can install on lower plans. On a self-hosted site you control the hosting, plugins, themes and code, and you pay the host directly.

The move is worth doing when you need plugins, a custom theme, or full control of your site. If you only write posts and never touch code, staying put may be simpler.

Installing plugins is available on WordPress.com paid plans, from Personal upward, according to WordPress.com's support page. Free sites cannot install plugins, which is the most common reason people move.

If you decide to move, start by comparing plans in how to choose WordPress hosting.

What moves with the standard export, and what does not?

The standard export moves your content but not your design, plugins or settings, so plan to rebuild those on the new site.

ItemIn the XML export?How to move it
Posts, pages and commentsYesWordPress Importer
Categories and tagsYesWordPress Importer
Custom fields and menusYesWordPress Importer
Media filesLinks onlyTick “Download and import file attachments”
Theme and designNoPick a theme on the new site
Plugins and settingsNoReinstall and set up again

Learn WordPress explains that the export downloads an XML file with posts, pages, comments, custom fields, categories and tags. The same lesson notes that media not attached to a post or page is left out.

On a Business or Commerce plan you can install a migration plugin instead and move the whole site, theme and plugins included. The XML export is the route for free and lower plans, and it is the route this guide covers.

Duplicator is one such migration plugin. See how to migrate WordPress with Duplicator if your plan allows plugins.

Write down your theme, plugins and key settings before you start. That list is your rebuild checklist on the new site.

How do you export your content from WordPress.com?

Export from your WordPress.com dashboard at Tools, then Export, choose All content, and download the file WordPress.com prepares.

  1. Log in to WordPress.com and open your site dashboard.
  2. Go to Tools, then Export, and choose All content.
  3. Click Download Export File and save the file to your computer.
  4. Unzip the download if it arrives as a zip file. Inside is a single .xml file.

Large sites take longer to package. WordPress.com prepares the file and sends a download link to your account email, so check your inbox if the download does not start at once.

Keep the old site public until the import finishes. The export file holds links to your images, not the files, so the new site must still reach the old one to copy them.

WordPress.com's export guide says to set the site to public before you export, so the new site can reach your images. You can switch it back to private after the move.

The same guide says an export usually takes 1 to 2 minutes for most sites. Larger sites with more than about 1,000 posts or pages get an email with a zip file holding several XML files, which you import one at a time.

Clean up first to keep the file small: delete unwanted drafts and spam comments, and turn off plugins you no longer use. The guide lists these steps as the fix when an export fails from too much content.

How do you set up WordPress on your new host?

Buy a hosting plan and a domain if needed, then install a fresh copy of WordPress on the new host before you import anything.

Most hosts offer a one-click WordPress install in their panel. Use it, then log in to the new wp-admin and check that the blank site loads over https.

Check the host meets the software WordPress needs. WordPress.org's Requirements page recommends PHP 8.3 or newer and MySQL 8.4 or MariaDB 10.11 or newer as of November 2026.

Install the theme you plan to use before the import, so posts land in the right design from the start.

If you already own a custom domain on WordPress.com, keep it. Point its nameservers or DNS records at the new host after the import, then set it as the primary address on the new site.

Take a backup of the fresh install first. See how to back up WordPress.

How do you import the XML file into the new site?

Import at Tools, then Import, install the WordPress Importer, upload the XML file, and tick the box that downloads your media files.

  1. In the new wp-admin, go to Tools, then Import, and click Install Now under WordPress.
  2. Click Run Importer, choose the XML file, and click Upload file and import.
  3. Assign the imported posts to a user on the new site.
  4. Tick Download and import file attachments so images copy over from the old site.
  5. Click Submit and wait for the import to finish.

Learn WordPress notes that the transfer does not include the site's design, themes or plugins. Install those by hand after the content lands.

A large import can take a while. Leave the tab open until WordPress reports the import is done, and do not start a second import of the same file.

Open the new site and check posts, pages, images and menus. Missing images usually mean the old site went private before the import copied them.

How do you redirect the old address so visitors find the new site?

If your old address ends in .wordpress.com, buy WordPress.com's Site Redirect for $13 per year so every old link lands on the new site.

WordPress.com's support page says a site redirect sends traffic from a .wordpress.com address and all its permalinks to another site, and that it is only for sites leaving WordPress.com.

Set the new site's permalinks to Day and name first. The same support page warns that visitors may see an error if the destination does not use the same date-based structure as WordPress.com.

The redirect points only at an http:// address, according to the support page. If the new site uses https, its own redirect from http to https handles the last step.

Site redirects are not available on sites with plugins installed or hosting features turned on, according to the same support page. If your site has a custom domain instead, point its nameservers or DNS records at the new host. No redirect purchase is needed.

Do not delete the old WordPress.com site while the redirect runs. The redirect stops working if the site is gone.

For the full search checklist, see how to move a WordPress site without losing SEO.

What should you check after the move?

Check every post, page, image, menu and form on the new site, then set the old site to private or leave the redirect running.

  • Open ten or more posts and confirm images load and links point at the new domain.
  • Check the homepage, menus, widgets and contact form.
  • Search the new site for the old .wordpress.com address and fix any links left behind.
  • Ask search engines to re-index the new domain once the redirect is live.

Check that your subscriber and follower lists moved separately. The standard export does not include them, so move them before you close the old site.

WordPress.com's export guide says to compare the media library counts on both sites after the import, since the counts should match. Image copying can take several hours on a site with many photos, so check again later if some files are still missing.

Leave the redirect in place for at least a year. Old links from other sites keep working only while the redirect is active.

If old links still break after the move, work through how to fix broken links after a migration.

What mistakes should you avoid?

These five mistakes cause most failed moves from WordPress.com.

  • Making the old site private before the import, which blocks the media files from copying over.
  • Importing before setting permalinks, which breaks the redirect for old post links.
  • Expecting the theme and plugins to move with the export. They never do.
  • Deleting the WordPress.com site while the Site Redirect is still needed.
  • Forgetting to tell subscribers and followers where the site moved.

Frequently asked questions

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

The export and import cost nothing, but you pay for hosting and a domain on the new side. The only WordPress.com charge in the move is the Site Redirect at $13 per year, and only if your old address ends in .wordpress.com. A custom domain needs no redirect purchase.

Do I lose my posts when I move from WordPress.com?

No, if you export and import correctly. The XML file holds your posts, pages, comments, custom fields, categories, tags and menus. Keep the old site public until the import finishes, and tick Download and import file attachments so your images copy over too.

Can I keep my domain name when I move?

Yes. If you own a custom domain, point its nameservers or DNS records at the new host after the import. If your address is a free .wordpress.com subdomain, you cannot take it with you, so buy the Site Redirect and keep it running for at least a year.

What happens to my WordPress.com subscribers?

The standard export does not include subscribers or followers, so they do not move with the XML file. Move them separately before you close the old site, and tell readers the new address so they can follow you there.

How long does the move take?

A small site takes under an hour: a few minutes to export, a few minutes to install WordPress, and a few minutes to import. Large sites take longer, mostly while the import copies media files. DNS changes add up to 48 hours before every visitor sees the new site.

Sources

  1. Tools: Export and Import Learn WordPress
  2. Tools: Import and Export Learn WordPress
  3. Redirect a WordPress.com site address WordPress.com Support
  4. Requirements WordPress.org
  5. How to Configure DNS Settings in WHM Bluehost
  6. Export WordPress Content WordPress.com Support

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

WPLegible editors

Researched from the primary sources listed above and checked against our editorial rules. About the site · How we test