Glossary

Explore Meshline

Products Pricing Blog Support Log In

Start with your goals.

Book a call
Autonomous Operations

WordPress Connect or XML File for Your HubSpot Blog Import?

Moving a WordPress blog into HubSpot? See which import path fits your site's setup so you can choose the right one before you export anything.

A chain link icon beside a document icon.

You have a WordPress blog, a HubSpot account, and a publishing calendar that cannot wait for a long migration.

The first decision is not how to move the posts.

It is whether your WordPress site can answer the connection HubSpot uses.

HubSpot recommends trying WordPress connect first for blogs hosted on WordPress.

The XML file is the documented fallback when that connection or the smart copy method does not succeed.

That order is the whole decision, and it is worth checking before you export anything.

Start with the compatibility question

WordPress connect gathers your blog content from your blog's homepage URL.

It does this through the standard WordPress REST API.

So the practical question is whether your site supports that API and returns a successful response.

If it does, the connection path is the documented first attempt.

If it does not, the XML file is the documented alternative.

You are not choosing between two equal preferences; you are checking a condition.

What the error message actually tells you

HubSpot documents a specific message: “This blog is not compatible with WordPress Connect.”

That message means HubSpot could not get a successful API response from your WordPress blog.

The documented common reasons are narrow and worth reading literally:

  • The blog you are trying to import is not a WordPress blog.
  • One or more WordPress security plugins restrict access to the WordPress API.
  • Other server configuration issues prevent HubSpot from reaching the site, such as an expired SSL certificate.

Each of those is a condition to verify, not a verdict about your content.

A security plugin that blocks the API is a different problem from a site that is not WordPress at all.

What WordPress connect carries

When the connection works, the importer collects a defined set of elements from each post.

Knowing that list helps you decide whether the path fits your content.

The documented elements are title, SEO title, author, publish date, featured image, categories and tags, meta description, and post body.

Author images are not imported unless they are included in the post body.

Two prerequisites sit next to this path.

You need Edit and Publish permission to import blog posts.

You also need your blog's homepage URL, and posts must have a title and post body set in WordPress to be imported.

One limitation matters for teams with mixed content: WordPress connect is not compatible with custom post types in WordPress.

If your blog relies on custom post types, that is a documented reason to look at the XML path.

The review step before anything goes live

After the tool scans your posts, the status moves to “Posts ready for import.”

You then review the listing, which includes blog posts and any other pages collected from your WordPress website.

You can preview a post and see the values the tool identified.

If default values were applied, you will see a note reading “Default values used to complete mappings.”

You can open Change default values and set those fields for all posts.

By default, none of the posts are selected.

You choose the posts to include, then decide whether to import them as drafts or as live-published posts.

There is also an overwrite checkbox for existing content.

What the XML file carries

The XML import is documented for WordPress and Squarespace blogs.

It moves posts, tags, and publishing status into a HubSpot blog.

The documented elements are title, post body including inline images, URL, publish date, author, tags and categories, status, meta description, and featured images.

Two exclusions are stated plainly: PDF files linked in your posts and images in gallery tags are not included in an XML import.

That exclusion list is the kind of detail that should shape your choice.

If your posts lean on linked PDFs or gallery images, plan for that gap rather than discovering it after import.

Export first, then upload

Before uploading, you export your posts as an XML file.

On WordPress, sign in as a WordPress Admin and go to Tools > Export to select your blog posts.

WordPress.com and custom WordPress sites have their own documented export steps.

Then, in HubSpot, go to Content > Blog, open the Current view dropdown, and select Import blog.

Choose Start new import, then Blog posts, then the XML file upload option.

By default, “Remove shortcodes from imported posts” is selected.

If you need raw code in your posts, clear that checkbox before uploading.

Publishing status and tags

After upload, you review the posts in the file and select which ones to import.

Then you choose the destination blog and a publishing status.

The XML path documents two status options.

“Keep existing status” maintains the publish status from your WordPress blog, so drafts stay drafts and published posts stay published.

“Change all to draft” saves every imported post as a draft.

You can also select the Import blog tags checkbox.

And to replace posts in your current blog that share a URL, select the overwrite checkbox.

Check your links before an XML import

HubSpot documents one preparation step that is easy to skip.

Before you import, review all internal links and images to confirm they use absolute URLs rather than relative URLs.

The stated purpose is to prevent links and images from breaking in your imported posts.

This is a check you perform on your own content, not something the importer resolves for you.

After import, the XML path also documents exporting redirects.

Where you set those redirects depends on how much of your site now lives on HubSpot.

If your whole site, including the former WordPress domain, is hosted on HubSpot, you set redirects in your website settings.

If the old domain is still on WordPress, you set them there.

An illustrative scenario

Suppose a team runs a WordPress blog behind a security plugin that restricts the WordPress API.

They try WordPress connect and see the not-compatible message.

In that situation, the documented reading is that HubSpot could not get a successful API response.

The documented next step is the XML file.

The team exports from WordPress Tools > Export, checks that internal links and images use absolute URLs, and uploads the file.

During review they choose “Change all to draft” so nothing publishes before an editor checks it.

They also note that linked PDFs and gallery images will not come across, and plan to handle those separately.

This is a labeled illustration of the decision, not a customer result.

A short pre-import checklist

Each question below has its own consequence.

Answer them against your actual site and content.

  1. Does your WordPress site support the standard WordPress REST API and return a successful response? If yes, WordPress connect is the documented first attempt. If no, the XML file is the documented alternative.
  2. Do you have Edit and Publish permission? Without it, you cannot import blog posts by either path.
  3. Do your posts have a title and post body set in WordPress? WordPress connect requires both to import a post.
  4. Does your blog use custom post types? WordPress connect is not compatible with them, so that content needs a different plan.
  5. Do your posts rely on linked PDFs or gallery images? The XML import excludes both, so decide how to handle them before you upload.
  6. Do your internal links and images use absolute URLs? If not, review them before an XML import to reduce the chance of broken links and images.
  7. Do you want to preserve each post's current status or bring everything in as a draft? The XML path documents both options; choose deliberately.

What to verify after either import

Both paths end with a review, and both can report partial results.

The XML import documents an “Import succeeded with some errors” status, with details available under More > View details.

Check the elements you expected against what arrived.

For WordPress connect, that means the documented element list.

For XML, it means the documented list minus PDFs and gallery images.

Then finish the setup HubSpot documents as next steps.

Set blog title, URL, and social sharing.

Choose subscription options for email notifications.

Configure branding and your blog template.

Those steps shape how the imported posts appear, so they belong in the same project plan.

Still deciding how imported content fits your publishing and reporting workflow?

The Blog Analyze versus Content Performance comparison shows which first check answers your question.

Teams planning subscription emails can review blog subscription emails versus a separate new-post email.

Source references: knowledge.hubspot.com; knowledge.hubspot.com; knowledge.hubspot.com.

How Meshline can help. Connect automation, Organic Marketing (demand generation), and customer lifecycle management (Revenue Intelligence).

Bring topic planning, content publishing and performance feedback into the conversation about your workflow. Book a Meshline demo.

Revenue Intel

Ask us about this workflow.

Tell us what you want to fix or automate. We'll reply with the most useful next step.

See how we can help

Implementation decisions

Put this into practice

Before choosing a solution, define the problem, the available data and who will review the outcome.