How to View and Edit a HubSpot-Hosted Domain Sitemap

How to View and Edit a HubSpot-Hosted Domain Sitemap

If your team relies on HubSpot-hosted pages to fuel lead generation, SEO, or brand visibility, then your sitemap is doing more work behind the scenes than you might realize. Missed updates, outdated URLs, or improperly excluded content can quietly damage your search performance. And because HubSpot automates much of the process, it’s easy to assume everything’s running smoothly—but that’s not always the case.

When you’re regularly launching new blog posts, landing pages, or gated resources, your sitemap needs to reflect those changes in real time. If a redirect goes unmanaged or an old page lingers in the index, your search reach—and your traffic—can suffer.

This walkthrough will show you exactly how to find, manage, and fine-tune your sitemap in HubSpot’s CMS, along with smart tips for keeping SEO performance in check with HubSpot’s built-in tools.

 

Generating and Optimizing XML Sitemaps for SEO Indexing

At its core, a HubSpot domain sitemap is an XML file that automatically lists every live, indexable page associated with one specific HubSpot-hosted domain. You’ll usually find it at yourdomain.com/sitemap.xml. Search engines use this file to discover your content, crawl it efficiently, and understand your site’s structure.

Each live domain you connect to in HubSpot maintains its own sitemap. Pages that are published and publicly accessible—like blogs and website pages—are automatically included. Pages that are private, unpublished, or purposefully set to “noindex” won’t appear.

To manage this directly, head to Settings > Website > Domains & URLs > Sitemaps. In this section, you’ll have access to the current list of URLs, the ability to exclude or re-include specific pages, and the option to trigger a manual refresh.

This sitemap works tightly with HubSpot’s content tools. Any updates you make in the CMS—such as publishing or archiving a page, or applying a redirect—immediately affect what appears in the sitemap. While newer AI features may guide your content structure, keeping the sitemap accurate is completely in your hands.

 

How It Works Under the Hood

HubSpot automatically scans your connected domains and generates structured XML sitemap files referencing all eligible URLs. Here’s a breakdown of the process every time a page is created or updated:

  • When you publish a new page, HubSpot checks whether it’s hosted on a connected domain.
  • If the page qualifies—meaning it’s live, public, and not tagged “noindex”—HubSpot adds it to the sitemap file for that domain.
  • When you unpublish a page or add a redirect, HubSpot updates or removes the entry as needed.
  • Password-protected or blocked pages are always skipped.

When a page meets the inclusion criteria, it appears in the sitemap file located at /sitemap.xml for that specific domain.

What you can configure:

  • Choose whether a page is included or excluded through page-level controls.
  • Refresh your sitemap manually after major changes.
  • Organize your site structure with clean internal links to guide search engine crawl behavior.

The key benefit? These updates process nearly in real time, which means your sitemap stays tightly aligned to your live site—assuming you’re paying attention.

 

Main Uses Inside HubSpot

Maintaining Accurate Indexation

When campaigns roll out with high content volume, your sitemap becomes the cornerstone of fast, thorough indexing.

For example, if your marketing team publishes 50 blogs as part of a launch, your sitemap ensures they’re all immediately accessible to search engines. A quick check helps catch pages that failed to publish, duplicate slugs, or older content that should now be excluded.

Controlling Search Visibility by Domain

If your setup includes different HubSpot-hosted domains—say, a main brand site and a microsite—each has its own sitemap. This gives you complete control over which content gets indexed per domain.

For instance, if your RevOps team wants to focus SEO attention exclusively on ungated assets, they can exclude login pages or gated PDFs from the product domain’s sitemap. That narrows focus and improves visibility where it matters.

Troubleshooting Crawl or Index Errors

Issues like crawl warnings, missing pages in Google Search Console, or traffic dips often start with sitemap inconsistencies.

If a key landing page suddenly drops out of organic rankings, your first stop should be the sitemap at yourdomain.com/sitemap.xml. Review whether the page is still listed, or whether an old redirect or noindex tag is at play. Quick sitemap adjustments can prevent lasting SEO damage.

 

Common Setup Mistakes and Misconceptions

Assuming all published pages are auto-included

Not all pages are included in the sitemap by default—especially if they’re hosted on a subdomain not fully connected to HubSpot. Content on unhosted subdomains won’t be indexed from your HubSpot sitemap. Make sure every active, public-facing domain is linked and set to host content in HubSpot settings.

Forgetting to refresh the sitemap after renaming URLs

If you update a URL slug but don’t republish or refresh the sitemap, the file might still reference the old path. Always force a sitemap refresh after relinking or restructuring pages to avoid broken or conflicting URLs.

Expecting blocked pages to appear

If a page is disallowed in your robots.txt file, search engines won’t crawl it—even if it’s listed in your sitemap. Make sure your robots.txt directives support what you’ve configured to be publicly visible.

Trying to manually edit the sitemap XML

Don’t waste time searching for raw sitemap code. HubSpot doesn’t allow direct XML edits. Your controls live entirely in the Sitemap section of your domain settings. Use the built-in interface to manage inclusion or exclusion.

 

Step-by-Step Setup or Use Guide

Before making any changes, confirm you have Website Access permissions and an active CMS Hub subscription or higher.

  • Access your domain settings
    Go to Settings (gear icon) > Website > Domains & URLs.
  • Locate the Sitemaps tab
    In the left-hand menu, click Sitemaps. You’ll see each connected domain listed.
  • Choose a domain
    Select the domain you want to manage and view its sitemap. A preview of the currently included pages will load.
  • Review which pages are included
    Scan the list. Use search to check for specific pages or URL fragments. Make sure new pages show up, and old or gated ones don’t.
  • Manually include or exclude URLs
    Check the box next to any page and choose “Exclude from sitemap” or “Include in sitemap.” HubSpot will reflect this in the XML file after saving.
  • Trigger a sitemap refresh
    Click the Refresh Sitemap option at the top right. This reprocesses the entire file and can take a few minutes.
  • Confirm changes at the live XML file
    Visit https://yourdomain.com/sitemap.xml in your browser. You’ll see your latest published list in real-time.
  • Submit to Google Search Console
    To notify Google of updates, submit your sitemap link in Search Console. This promotes faster reindexing of new or corrected pages.

 

Measuring Results in HubSpot

Once your sitemap is cleaned up and aligned, it’s important to watch how that translates into real search outcomes.

What to do:

  • Use Traffic Analytics > Pages to track organic sessions. Spike in views on a newly added URL? That’s a sitemap win.
  • Use the Sources report, filtered by “Organic Search,” to connect traffic trends back to sitemap updates.
  • Create a custom dashboard that compares page views with external index status (e.g., data from Google Search Console).
  • Visually verify the file. Open your sitemap.xml to ensure the formatting is clean and the URLs are valid.

Stick to this checklist:

  • Check that new pages show up in the sitemap within 24 hours of publishing.
  • Clean out deleted or redirected pages regularly.
  • Keep robots.txt and sitemap.xml aligned.
  • Monitor domain-specific organic traffic monthly to spot dips early.

 

Short Example That Ties It Together

Let’s say your content team spins up a new resource center at resources.company.com, fully hosted in HubSpot. The expectation is that search engines will crawl and index every page within days.

Here’s how it plays out:

  • You publish ten landing pages.
  • You check /sitemap.xml and notice two pages missing—they’re gated and set to “noindex,” which is correct.
  • You confirm the other eight are appearing.
  • You submit the sitemap to Google Search Console for indexing.
  • One week later, your HubSpot traffic analytics show those eight pages earning consistent organic traffic.

This simple process shows how easily you can confirm sitemap accuracy and tie it directly to SEO performance without extra guesswork.

 

How INSIDEA Helps

Managing HubSpot sitemaps gets much harder once you bring multiple domains, redirects, scheduled campaigns, or international content into the mix. If you’re juggling content and strategy at scale, small errors can have an outsized SEO impact.

INSIDEA helps you stay ahead with:

  • HubSpot onboarding to get your portal and core workflows set up correctly
  • Continuous HubSpot management, so your data and automations stay clean
  • Smart workflow automation tailored to your actual ops
  • SEO-focused optimization of your robots.txt and sitemap files
  • Analytics alignment to ensure marketing, SEO, and sales teams track results from the same view

Want clear indexing, clean reporting, and no disconnects between your sitemap and your results? Connect with our HubSpot advisors or check out INSIDEA’s HubSpot consulting services

Jigar Thakker is a HubSpot Certified Expert and CBO at INSIDEA. With over 7 years of expertise in digital marketing and automation, Jigar specializes in optimizing RevOps strategies, helping businesses unlock their full potential. A HubSpot Community Champion, he is proficient in all HubSpot solutions, including Sales, Marketing, Service, CMS, and Operations Hubs. Jigar is dedicated to transforming your RevOps into a revenue-generating powerhouse, leveraging HubSpot’s unique capabilities to boost sales and marketing conversions.

The Award-Winning Team Is Ready.

Are You?

“At INSIDEA, it’s all about putting people first. Our top priority? You. Whether you’re part of our incredible team, a valued customer, or a trusted partner, your satisfaction always comes before anything else. We’re not just focused on meeting expectations; we’re here to exceed them and that’s what we take pride in!”

Pratik Thakker

Founder & CEO

Company-of-the-year

Featured In

Ready to take your marketing to the next level?

Book a demo and discovery call to get a look at:


By clicking next, you agree to receive communications from INSIDEA in accordance with our Privacy Policy.