Topics

On this page

Last updated on Aug 7, 2025

Migrating the Content from HubSpot CMS to WordPress

It’s easy to think that migrating a HubSpot blog to WordPress (content migration, basically!) is actually the easier part of a HubSpot to WordPress conversion, given HubSpot’s native content/data export tools. But it isn’t so.

HubSpot’s content ecosystem doesn’t map one-to-one with WordPress by default, and this becomes clear the moment you start planning your content migration. Your HubSpot instance likely uses dozens of “HubSpot” content elements (from smart modules and CTAs to special content formats) that simply don’t have direct equivalents in WordPress out of the box.

To handle this, your developers need to design the right foundation before any actual import happens. That means creating custom post types, defining custom fields, and building reusable blocks, patterns, and layouts so that when you do hit “Import,” every piece of content lands where it belongs, fully intact and functional.

The lift is real, but once your new WordPress content infrastructure is ready, the payoff is a site that’s easier to manage, more flexible to evolve, and free of HubSpot’s bundled constraints. Here’s how to go about your HubSpot to WordPress content migration. 

Start by auditing your existing HubSpot content

For large enterprises, HubSpot content is often a patchwork of:

So start by pulling everything into one source of truth (usually a spreadsheet or a simple database view) to see what’s there, who owns it, and whether it should move.

Your content audit table could look something like this:

Content TypeVolumeOwner/StakeholderCurrent StatusKeep, Rewrite, Retire?
Blog Posts~1,500Content/SEO20% outdated1,200 keep, 300 rewrite
Landing Pages300MarketingMixed150 keep, 50 rewrite, 100 retire
Knowledge Base200SupportMostly validKeep all
Gated PDFs75Product/Lead GenSome obsolete50 keep, 25 retire
CTAs & FormsDozensDemand GenMany tied to HubSpot formsRebuild all in WP

And here are some tools to help you:

Map what you’re keeping (and where it lives next)

Once you know what you have, the next question is: Where will it live in WordPress?

This is where the real design happens. HubSpot’s ecosystem is tightly bundled. WordPress is modular. In HubSpot, you might have blog posts, landing pages, knowledge base articles, and gated offers all created with the same drag-and-drop builder. In WordPress, you have posts, pages, reusable blocks, custom post types, taxonomies, and a universe of plugins.

So, a typical mapping conversation sounds like this:

At this stage, we also plan out your new URL structure. Should you replicate your HubSpot permalinks exactly to protect SEO? Do you want to flatten an old, deep folder structure? Which pages need 301s? These are the decisions that keep your traffic from tanking on day one.

Here’s an example mapping table you could use as a starting point:

HubSpot ElementMapped WordPress StructureTool/PluginNotes
Blog PostsPostsCore WPUsually 1:1 mapping
Landing PagesPages or CPTGutenberg, ACFOften with custom templates
CTAsReusable Blocks/PatternsACF, Block PluginsFlexible placement
Knowledge BaseCustom Post TypeCould use a knowledge base theme or pluginFaceted search, breadcrumbs
FormsEmbedded FormsGravity Forms, Formidable FormsCRM/API connectors
SEO MetadataSEO PluginsYoast, Rank MathValidate during import

Exporting your HubSpot content

For a large HubSpot site, you’ll need to use a combination of three export approaches, each tackling a different layer of your content and media ecosystem.

HubSpot’s built-in export tools

First, you’ll tap HubSpot’s built-in export tools to export the  bulk of oyur simple data. For the parts of your site that follow simple, predictable patterns (like blog posts and standard site pages) these tools do a lot of the heavy lifting. Images stored in HubSpot’s File Manager can technically be bulk downloaded, for example.  While HubSpot doesn’t give you a single “export all” button for everything in File Manager, you can export folders or run batch downloads. This covers the bulk of static assets: your logos, inline blog images, PDF downloads, or banners.

However, this out-of-the-box export only goes so far.

Custom scripts

If you’re looking for more advanced exports (for example, a complete dynamic, personalized landing page with different CTAs, modules, or content variations that change based on a visitor’s properties), you’re no longer looking at a simple, one-click export.

In these cases, the built-in tools just give you the static version or what an anonymous visitor would see by default. All the smart rules, embedded forms, gated files, and hidden modules that actually make the page work don’t come along for the ride automatically.

That’s exactly where custom scripts come in. Here, your dev team writes an API script that, let’s say, pulls the module definitions for the page, extracts the smart rules (e.g., geo rules, contact lists), downloads all variations of the CTA blocks, dumps the form definitions (fields, conditions, GDPR flags), and exports any gated files (like offer PDFs).

But getting the raw data/content is only half the job, you also need to plan how to rebuild that personalization on WordPress. That could mean using plugins, custom blocks, or third-party personalization tools to replicate HubSpot’s dynamic logic.

Manual extraction

Finally, there’s the unavoidable manual extraction. Even the best scripts miss edge cases. For these you need to go the manual route.

Preparing for WordPress import

Getting your content out from HubSpot is only half the job, the other half is building the right structure in WordPress to receive it.

This means your developers need to design Custom Post Types (CPTs). For example, a “case study” in HubSpot will become a CPT in WordPress. Likewise structured data will need configuring custom fields on WordPress.

Your developers will also need to use the Block Editor (Gutenberg) for building reusable blocks, block patterns, or custom blocks to mirror HubSpot’s modules or rich layouts. This work happens before you import (otherwise your content won’t display correctly).

Once you’ve all the content formats, fields, and blocks inside your WordPress dashboard, you’ll use a combination of methods to import your to WordPress. From   WordPress import plugins and custom scripts to manually moving some assets, content import can look different for different assets.

The chapter on frontend migration covers these in detail, head over to it to get a clearer idea of how you can rebuild these.

When it’s time to actually bring your content in, you’ll lean on the same layered approach you used for export:

SEO URL mapping

When you migrate a site (like HubSpot to WordPress), the content migration stage usually covers not just the text, images, and files, but also all the metadata and structural SEO elements that protect your search rankings.

SEO mapping specifically means:

In a good CMS migration plan, these steps sit inside the content migration track, because they’re directly tied to how pages and posts are rebuilt and published on the new CMS.

Here’s a table to help you conduct your SEO URL mapping: In it:

Old HubSpot URL: The exact path of the asset in your HubSpot site.
New WordPress URL: Where that page’s content will live on the new WordPress site.
Redirect Type: Almost always a 301 (permanent) redirect unless you’re retiring the page, then you’d plan a custom handling or let the 404 template catch it.
Notes: Any context, e.g., “merged into another page”, “slug cleaned”, “new taxonomy used”.

Old HubSpot URLNew WordPress URLRedirect TypeNotes
/blog/marketing-strategy/blog/marketing-strategyNoneBlog article: URL structure retained
/blog//blog/NoneMain blog landing page: structure retained
/resources/ebooks/guide-to-email/downloads/guide-to-email-marketing301Moved to new “Downloads” section for gated content
/resources/whitepapers/abc-whitepaper/downloads/abc-whitepaper301Consolidated with other whitepapers under “Downloads”
/about-us/our-team/about/team301Cleaned up slug
/webinar/2023-customer-experience/events/2023-customer-experience-webinar301New events taxonomy
/blog/old-post-retired-410Low-value blog post not migrated: returning “gone”
/404/404NoneHandled by new WP 404 template

A few considerations:

Most enterprise teams generate a .htaccess or server config for Apache/Nginx using this URL mapping spreadsheet. When you do bulk redirection for a HubSpot to WordPress migration (or any CMS migration), you usually handle it server-side by generating a redirect configuration file.

HubSpot to WordPress content migration is work… but it’s quite an upgrade

A well-executed HubSpot-to-WordPress content migration isn’t just about moving text and images… it’s about translating years of marketing investment into a new, more flexible content management system. When your custom post types, fields, and blocks are thoughtfully planned, your content won’t just fit perfectly on WordPress but it will be easier to maintain, adapt, and scale for years to come.


Credits

Authored by Disha Disha Disha Sharma Content Writer | Edited by Shreya Shreya Shreya Agarwal Growth Engineer