All posts

Blog

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

Illustrated cover for the WordPress guide "How to Move From WordPress.com to Self-Hosted WordPress.org"

WordPress.com is an easy place to start a blog. Sooner or later, though, many site owners want more control: any plugin they like, their own theme code, custom analytics, full access to files and the database. That is what self-hosted WordPress, the free software from WordPress.org, gives you.

The good news is that moving from WordPress.com to self-hosted WordPress is well supported. This guide walks you through the whole move, from planning to redirects.

WordPress.com vs WordPress.org in a nutshell

  • WordPress.com is a hosted service run by Automattic. It handles servers and updates for you, and features depend on your plan.
  • WordPress.org is where you download the open-source WordPress software. You install it on your own hosting account and have full control over themes, plugins, code and data.

Self-hosting means you are responsible for updates, backups and security, but you can run your site exactly the way you want.

Before you start

Gather a few things:

  • A hosting account that supports WordPress (PHP, MySQL or MariaDB, and ideally a one-click installer).
  • Your domain plan. If your WordPress.com site uses a custom domain, decide whether to keep it registered where it is, transfer it, or simply point it to your new host.
  • Admin access to your WordPress.com site.
  • A list of your important pages, plugins (if on a plan that allowed them) and settings like menus and widgets. Some of these do not transfer in an export.

Step 1: Install WordPress on your new host

Install WordPress on your hosting account using the installer in your control panel, or manually. If your domain still points to WordPress.com, you can install on a temporary subdomain or use your host's preview feature, then switch the domain at the end.

Keep this fresh install clean. You will import your content into it.

Step 2: Export your content from WordPress.com

  1. In your WordPress.com dashboard, go to Tools → Export.
  2. Choose Export all (or Export content, depending on the interface).
  3. WordPress.com will prepare a file and either download it or email you a link. It is usually a ZIP file containing an XML file.

The export includes posts, pages, comments, categories, tags, menus and custom fields. It does not include your theme design, widgets or most site settings. Media files are referenced in the export and can be pulled in during import.

Some WordPress.com plans also let you export your media library separately. Download that too as a safety net.

Step 3: Import into your self-hosted site

  1. On your new WordPress site, go to Tools → Import.
  2. Find WordPress in the list and click Install Now, then Run Importer.
  3. Unzip the export file if needed and upload the XML file.
  4. Assign authors. You can map imported authors to an existing user or create new ones.
  5. Tick Download and import file attachments so images are copied to your new site.
  6. Click Submit and wait.

If the import times out or the file is too big

Large sites can hit upload size or execution time limits. You can:

  • Ask your host to temporarily raise the upload limit
  • Split the export into smaller files by date range or content type
  • Run the import again. It skips content that already exists and fills in the gaps

Step 4: Rebuild the design

Your theme does not travel with the export. Install the same theme if it is available on WordPress.org, or choose a new one. Then:

  • Recreate your menus under Appearance → Menus or the Site Editor
  • Set your homepage and posts page in Settings → Reading
  • Re-add widgets, footer content and your logo
  • Install plugins to replace any WordPress.com features you relied on, such as contact forms, SEO, related posts or social sharing

Step 5: Check media and links

Browse your posts and look for broken images. Image URLs that still point to your old WordPress.com address can be updated with a search-and-replace plugin. Always back up the database before running a search and replace.

Step 6: Move your domain

How you do this depends on your setup.

You have a custom domain

Point the domain to your new host by updating its nameservers or DNS records, wherever the domain is managed. If the domain is registered through WordPress.com, you can either update its DNS there or transfer it to another registrar. Expect a short propagation period while DNS updates spread. Read our guide to DNS propagation for what to expect.

Install an SSL certificate on the new host as soon as the domain points there, and make sure your WordPress Address and Site Address in Settings → General use https://.

You used a free example.wordpress.com address

You cannot move that address itself, but WordPress.com offers a paid Site Redirect upgrade that sends visitors and search engines from your old address to your new domain. If you have built up traffic or backlinks, it is worth considering so you do not lose them.

Step 7: Protect your SEO

  • Match your permalink structure. WordPress.com usually uses date-based URLs like /2026/03/14/post-name/. Set the same structure in Settings → Permalinks on your new site, at least at first, so old links keep working.
  • Submit a sitemap in Google Search Console for the new site.
  • Check for 404 errors in Search Console over the following weeks and redirect anything that went missing.

Step 8: Wrap up the old site

Once you have confirmed everything works on the new host, you can set your WordPress.com site to private so there are no duplicate copies, unless you are using the site redirect. Keep your export file and a full backup of the new site somewhere safe.

Wrap-up

Migrating from WordPress.com to self-hosted WordPress comes down to export, import, rebuild and redirect. Install WordPress on your new host, import the XML file with attachments, recreate your design and menus, point your domain, and keep your old permalink structure so search engines and readers can still find everything. Once it is done, you have a site you fully own and can grow however you like.