HubSpot & RevOps Blog — Guides, Playbooks & How-Tos | Superwork

How to Migrate Your Website to HubSpot (You Don't Need an Agency Anymore)

Written by Thorstein Nordby | Dec 5, 2026, 5:32:23 PM

Migrating a website to HubSpot follows the same eight steps no matter which CMS you're moving from.

And once the move is done, you can run the site day to day with AI instead of an agency.

A lot of companies tell me they feel like a hostage to the agency that built their site. Every small change to a module or page means a support ticket.

It can mean weeks or months of waiting, and usually a big invoice for a pretty minor change.

That has changed a lot in the last year, and especially in the last few months.

It's easier to migrate a website than ever before, and it's even easier to manage the site yourself afterwards.

With Claude Code or OpenAI's Codex connected to HubSpot, you can build templates, modules and pages in plain language.

You keep the benefits of a CMS and still get to vibe-code the site your company needs.

A HubSpot partner will definitely help during the migration itself. But you can be far less reliant on one once you've gone through the process.

Here it is, step by step.

Step 1: Decide whether you need a CMS at all

The first objection is a fair one: why not just vibe-code the website and skip the CMS?

Do you really need HubSpot, Craft or WordPress when you can spin up Claude Code or Codex and build your own site?

Vibe-coding has real benefits. Cost is the obvious one: AI and hosting costs can be close to zero.

If you're just starting out and need something quick and cheap, I'm all for that approach.

I see four arguments against it for a growing B2B company.

It's easy to build but hard to run

You can get a really nice site with Next.js, Tailwind and AI.

Then comes all the boring technical stuff: hosting, SSL, traffic spikes, backups, logins, permissions, spam protection, cookies and consent, security, compliance, updates.

You need all of it, and it's much harder to get right yourself than paying for a HubSpot subscription.

For a bigger or growing company, the website simply has to work. No downtime. That is what you get with a SaaS platform.

To be fair, you could make the same argument for WordPress, Craft and other CMSs. They all handle a lot of infrastructure you never have to think about.

It's the wrong job

AI saves you a huge amount of time on code and the minutiae of running a website. That time should go to value creation and growth.

If you're a head of marketing or RevOps, your responsibility is growth.

Spend your time improving the conversion funnel, coming up with good offers, and turning your subject matter expertise into articles, guides, webinars and videos.

Not on building and maintaining a website.

You're not saving as much as you think

You save on hosting and licences, but you probably aren't factoring in your own time.

If you spend hours every week on the website, the saving disappears quickly.

HubSpot is also far more accessible than it used to be. I'd agree that the old Content Hub pricing was too much for most companies.

With the new pricing model, new customers get the website features, along with what used to sit in separate hubs, in one seat at a much lower entry price.

Your team needs to edit, and the site needs to convert

If you're slightly technical, editing and publishing a vibe-coded site is quite easy. That's one of its main advantages.

But not everyone on a marketing team is comfortable with a terminal and a GitHub repo.

Many prefer a standard what-you-see-is-what-you-get editor, with a file and image library, multiple languages and DeepL translation built in.

Then there's the growth side: SEO tools, Answer Engine Optimization (AEO) tools, sitemaps, page titles and meta descriptions, and above all forms.

Many companies don't have a basic connection between their website, their forms and the handoff of leads to marketing and sales.

Without that, what's the point of the website? It isn't enough to have a nice-looking site.

It needs a conversion funnel, offers, and a way to generate leads and sales opportunities.

The best of both worlds

You don't have to choose.

You can have the backend of a solid platform like HubSpot and still use AI coding tools such as Cursor, Claude Code or Codex to build the site in natural language.

The piece that makes this possible is the HubSpot Developer MCP, covered in step 8.

I think it's one of the best features HubSpot has ever launched, and I don't say that lightly.

Step 2: Decide between a migration and a redesign

Before anything else, decide whether you're moving the site as it is or changing it on the way.

The two options aren't that different, but the choice sets the scope and the price.

Option A: migrate as-is. If you're happy with your current site, its structure and its content, you can move it exactly as it stands.

Visually it will look the same in HubSpot as it did in WordPress. The backend changes, the frontend doesn't.

You get a more modern platform, better code, a site that's ready for AI, and all of HubSpot's marketing, sales and customer service features.

Option B: redesign. A move is also a good opportunity to improve things: a new header and navigation, sharper messaging, an expanded sitemap, new pages and tools.

Think of option B as an extension of option A.

Migrate the pages and content first, then make your changes to the homepage, product pages or header inside HubSpot before you launch.

Either way, list what you want to move: articles, pages, forms, interactive tools, web applications, support portals, payment tools.

Not everything can be migrated into the HubSpot CMS, so you want to know early what can't.

Step 3: Audit your current website and sitemap

Start by getting an accurate picture of where you are now.

If you've had your website for five or ten years, it holds value even if it feels outdated and you'd rather burn it down and start again.

You have backlinks, pages that get traffic, and assets that bring in leads, rankings and citations in LLMs. You want to keep those.

Crawl the site and decide what stays

Crawl the current site with tools like Screaming Frog, Ahrefs, Semrush and Google Search Console. Then look at the analytics:

  • Which keywords get impressions and clicks?
  • Which pages rank in Google, and which get cited by LLMs?
  • Which assets perform well, such as an ebook, a webinar or a guide with a lot of organic traffic?
  • Which parts of the site sit behind a login?

Put every page on its own row with an owner, and make one of three decisions for each:

  1. Keep it. The page gets traffic, leads or form submissions.
  2. Merge it. The page is too thin to stand on its own.
  3. Delete it. Think of a low-performing blog post or a news article from 2011.

The data matters here.

When you can see that a page gets this much traffic and this many form submissions, the decision to keep it makes itself.

Don't move house without telling anyone

If you move house and don't tell anyone your new address, nobody can find you. The same applies to a website.

If your pages get new URLs and you don't tell the internet where they went, you end up with a lot of 404 errors.

I've seen clients go through this after an agency decided not to set up redirects.

A page that ranked before the migration suddenly doesn't work.

You lose the traffic, the rankings and the conversions, simply because nobody mapped which pages to keep and where to redirect them.

List your page types

Sort the pages into types: website pages, landing pages, blog posts, portals, calculators, product configurators.

Ask IT whether anything lives beside the main website, such as a customer portal, a free trial portal or a payment portal.

HubSpot is very flexible about what it can host, but it can't host everything.

Some content may need to stay where it is, perhaps on a subdomain.

Listing the page types also lets you map each one to how HubSpot structures its content.

Check the metadata

Older, pre-AI websites often have missing or poorly optimized page titles, meta descriptions and URL slugs.

The page title is the blue link in a Google result, and the meta description is the small gray text underneath it.

I think both also affect citations in LLMs, because they describe what the page is about.

Note which pages need work for organic search and AI search.

Paint the future sitemap

I like to analyze the current sitemap and then paint the future one.

Look for changes that make the site easier to navigate and easier to index for Google and AI search bots.

A typical fix is bringing important pages closer to the root. A pillar page or product page buried deep in the hierarchy should move up.

The goal is a better experience for both humans and bots.

Step 4: Map out URLs and redirects

You now know your current sitemap and the one you want.

The job in this step is to make sure every old URL either stays the same or points somewhere new.

If you're migrating as-is, this is simple: nothing changes except the backend. If you're making changes, follow these rules:

  1. Keep the URLs that perform. If a URL does well on traffic, rankings, citations and contacts generated, keep it identical on the new site.
  2. List every URL that changes. A renamed service, a merged service, a restructured section: each one needs a redirect.
  3. Redirect anything that disappears. If a page is gone, send its URL to the most relevant page that remains.
  4. Redirect merged pages with a 301. Say you have 50 old articles from 2013 at 400 words each, and you merge them into 10 longer, more valuable posts. If four posts become one pillar page, all four old links need a 301 redirect to the new URL.

You add these redirects in your HubSpot portal when you connect your domain.

After launch, monitor your organic traffic and keep the redirects in place for 6 to 12 months.

Submit the new sitemap in Google Search Console; HubSpot generates the sitemap for you.

Search Console is especially helpful early on, because it notifies you about 404 errors and shows you which pages to fix.

Step 5: Rebuild the templates and import the content

This is the step where AI helps the most. I went through it myself recently.

I moved Superwork's site away from HubSpot to a custom-built website, and then found I was missing a lot of HubSpot's features.

When the HubSpot Developer MCP came out, I moved back, and it was incredibly easy.

Templates and modules

You have two options for rebuilding templates and modules:

  • Use an agency or partner. They rebuild your templates and modules and add your content, whether it's a straight migration or a redesign.
  • Use AI. Feed Claude the source code of your old website, whether that's WordPress or a custom build, and ask it to make a theme in HubSpot. It translates the code of your existing site into a framework HubSpot accepts. It's pretty crazy how far it gets.

Blog posts

Blog posts are the easiest part of the whole thing, especially from WordPress.

HubSpot has a free import tool that brings your posts over quickly.

You may need to go through them afterwards to do some editing and fix images, but the result is good.

Run a pilot before you migrate everything

Before moving the rest of the pages, give the people who will manage the website access to the portal and a bit of training.

Take them through editing a page and adding a form. If that works, migrate the rest.

When to bring in a partner

If you're slightly technical and the site isn't too big, I'd argue you can do the migration with AI alone.

For a 500-page or 1,000-page WordPress site, I'd recommend getting help, at least for the migration, because that's the most challenging part.

A partner does the heavy work of migrating templates and setting up integrations.

Your internal marketing team then checks the result and gets trained in the new editing experience.

Step 6: Set up forms, routing and tracking

Once the theme is built, rebuild your forms and the logic behind them. This is where many companies struggle today.

Their forms don't work properly. Nothing in the backend says which sales team or salesperson gets a lead.

There's no proper calendar tool for booking a meeting. Often there's an iframe or embedded form that breaks all the time.

This is one of HubSpot's strengths, and a big reason to have everything in one place.

Marketing, sales and customer service all capture data through the same forms, whether it's a download, a webinar registration, a demo request or a support request.

Make as few forms as possible

HubSpot forms are reusable.

You can have one demo form on every page of your site, change it in one place, and the change applies everywhere.

Most companies need only a handful:

  • Contact form
  • Demo or talk-to-sales form
  • Content download form
  • Newsletter subscription form

Route every conversion to the right person

Make sure each form notifies the right people or triggers the right workflow. Then test it.

Submit a demo request with a test contact and check that the right sales rep gets ownership, and can easily find the email and phone number and reply.

Keep the structure simple across downloads, forms in different languages and meeting links.

When a conversion happens, the information should reach the right person internally, every time.

Know your baseline

Companies that haven't used a proper CRM, and rely on something like Google Analytics alone, often have no good baseline for traffic and inbound leads.

Try to build one before you launch:

  • Demo requests
  • Contact form submissions
  • Booked meetings
  • Traffic from organic search and LLMs

Then compare at 3, 6 and 12 months.

You want to know whether the new site performs better or worse than the one you left. That's the whole point of doing the migration.

Step 7: Go live

Going live is a DNS change that takes minutes, as long as the preparation is done.

  1. Connect your domain to the portal early. This doesn't switch the site over. It gives you the CNAME values you'll later add to your DNS settings, at GoDaddy or wherever your domain lives. Have them ready.
  2. Get sign-off. Before you touch the DNS, marketing and RevOps should approve that everything works, including the lead routing tests and reporting. If you have technical stakeholders such as IT, get their approval too.
  3. Pick a quiet time. Make the switch at the end of the workday rather than when the site is busy, so visitors aren't disrupted.
  4. Point the domain to HubSpot. Add the CNAME values to your DNS. It usually takes 5 to 10 minutes before the site is served from HubSpot instead of your old CMS. The SSL certificate, which keeps visitors from getting a security error, can take a few more minutes to propagate.
  5. Test with your colleagues. Post in Slack or Teams and ask everyone to go to the website, click through the menu and links, and submit a form. Have marketing publish a change.

You can have done this a thousand times and there will still be minor things you missed.

Typically a redirect isn't in place or points the wrong way, or a form doesn't load.

Go through the site, weed out the obvious errors, and fix them right away.

Step 8: Manage the site yourself with the HubSpot Developer MCP

Once the site is migrated, I think most companies are better served managing it mainly themselves, using the HubSpot Developer MCP.

Making websites just sucks. It takes a lot of time and money, often on things that don't move the needle much.

B2B websites are mostly the same: a blog, service pages, product pages, a contact page, a request-a-demo page.

We're not reinventing the wheel, and we don't need to. We just need the basics in order.

Until recently, AI tools weren't good enough to let you manage a website on your own. Now they are.

What the MCP is

MCP stands for Model Context Protocol. It's a fancy term for a plug.

It connects Claude Code or Codex to HubSpot, so an AI agent can make the changes a developer or website editor would make for you.

Through it you can create templates and modules, build pages and add content, all in natural language.

You don't even have to type; you can use your voice.

You can open a page in the HubSpot editor, change the price, the headline or the images, and get a preview of the site.

An example: a conference landing page

Say you have a conference coming up and no template for it. Go to Claude and describe what you need:

  • The date, the speakers and the topics
  • The modules you want
  • A signup form
  • Which fields should be editable

Be as detailed as you can. Claude Code or Codex will build that page or module in minutes.

The same goes for a campaign landing page, a better homepage or a new header. You never have to leave Claude.

This is how you get out of the agency hostage situation.

Instead of paying thousands for minor changes and waiting weeks for them, you make them yourself.

Where a partner still fits

I'm not saying you shouldn't involve partners or agencies. They're especially valuable in the early stages.

But a good partner should also equip you with the tools: the MCP server, plus skills for writing website copy and blog content, so you can do more yourself.

Everybody has access to AI now. Your subject matter expertise is the thing that's unique.

The goal is to publish more relevant pages and posts, faster and at a much lower cost.

That brings more visits, more citations and more inbound leads.

It's a simpler process than it was a year ago

Migrating to HubSpot is more accessible than it was a year or two ago, for three reasons.

AI does much of the rebuild. The Developer MCP lets you manage the site yourself afterwards.

And the new pricing model makes HubSpot's website features much cheaper to get started with.

You get the benefits of a traditional CMS, with forms, reporting and all the backend infrastructure handled for you.

And you get to move fast at a low cost, using AI to make modules, build pages and edit content.

If you're planning a migration and want help, Superwork can advise on which HubSpot licence to go for, run the migration, and train your team on the MCP so you can manage the site on your own.

Book a call with Superwork to talk it through.