# HubSpot noindex

> Add a noindex meta tag in HubSpot

Canonical: https://scaplet.com/seo/hubspot-cms/noindex

Guide HubSpot HubSpot CMS · Noindex

Add a noindex meta tag in HubSpot's Head HTML field for pages, landing pages, blog posts and knowledge base articles, and fix pages that still show in search.

3 min

read

4

sources

Oct 31, 2026

updated

Scaplet Editorial Team

author

In one line

To noindex a HubSpot page, open its editor, click Settings, choose Advanced, and enter `<meta name="robots" content="noindex">` in the Head HTML field under Additional code snippets, then publish. Do not also disallow the page in robots.txt, because search engines then cannot read the tag.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fhubspot-cms%2Fnoindex%20(%22HubSpot%20noindex%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fhubspot-cms%2Fnoindex%20(%22HubSpot%20noindex%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fhubspot-cms%2Fnoindex%20(%22HubSpot%20noindex%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fhubspot-cms%2Fnoindex%20(%22HubSpot%20noindex%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

4 facts from the sources below

<meta name="robots" content="noindex">

Tag

Head HTML, Additional code snippets

Field

Pages, landing pages, blog posts, KB articles

Applies to

A robots.txt Disallow on the same page

Not with

_01_Which HubSpot setting fits which situation

## Pick the right control first

Situation

### Page already indexed, must leave [search results](/glossary/serp)

Use

`noindex` meta tag in Head HTML

Why

HubSpot says the tag tells search engines to stop displaying it in results

Situation

### New content, not yet indexed

Use

[Robots.txt](/glossary/robots-txt) `Disallow`

Why

HubSpot lists robots.txt for content that hasn't yet been indexed

Situation

### Page on a `hs-sites` system domain

Use

Nothing to do

Why

HubSpot says these are always set as no-index in robots.txt

Situation

### Page that should only drop out of the sitemap

Use

Remove it in the Sitemap tab

Why

HubSpot says removal won't explicitly tell search engines the page shouldn't be indexed

_02_How it works

## Add noindex to a page, landing page or post

1. 1

### Open the content

Click More, then go to Content > Website Pages, Content > Landing Pages or Content > Blog. If More doesn't appear in your account, go to the Content menu directly. Click the name of the item.
2. 2

### Open Advanced settings

In the content editor, click Settings in the top right, then click Advanced in the left sidebar menu of the dialog box.
3. 3

### Paste the tag

In the Additional code snippets section, enter the code below in the Head HTML field.
4. 4

### Close and publish

Click X to close the settings dialog box, then click Update or Publish in the top right. The tag is not live until you do.

Head HTML field

```
<meta name="robots" content="noindex">
```

For [knowledge base](/glossary/knowledge-graph) articles the route differs slightly. Click More, then go to Service > Knowledge Base, click the article name, click Settings in the top right, and choose Advanced Options (not Advanced) in the left sidebar. The Head HTML field and the tag are the same.

_03_Check it

## Noindex across many pages from a template

HubSpot's `standard_header_includes` variable is documented as including "code added to the head tag at the domain/template/page level", so a tag placed in the template head reaches every page built on it. HubSpot's help article only documents the per-item Head HTML method above, so treat the conditional below as a pattern you assemble from two documented pieces: the HubL `request.path` variable, which holds the path component of the URL, and the meta tag. Test it on a draft before using it on a live template.

**Keep one tag per page**If you add a tag in a template and also in a page's Head HTML field, view the source and confirm the output reads as you expect. You can also combine directives, for example `noindex, nofollow`, as Google documents.

Template head, illustrative pattern

```
{% if request.path == "/thank-you" %} <meta name="robots" content="noindex"> {% endif %} {{ standard_header_includes }}
```

_04_Worth knowing

## Check it worked, and fix pages that still show

### Page must be public

HubSpot says private or password-protected pages won't be crawled, which stops the tag being read.

### Check Head HTML and live source

Confirm the tag was saved and renders on the published page.

### Check robots.txt

A `Disallow` rule that matches the page means search engines can't read the tag. See [HubSpot robots.txt](/seo/hubspot-cms/robots-txt) and the [blocked by robots.txt](/seo-issues/blocked-by-robots-txt) issue.

### Wait for a recrawl

Google says it must crawl the page to see the tag and, depending on how important the page is, a revisit can take months. Request a recrawl with the [URL Inspection tool](/glossary/url-inspection-tool).

### Need it gone fast

HubSpot points to [Google Search Console](/glossary/google-search-console)'s Removals Tool.

Confirm the tag is in the live HTML

```
curl -sL https://www.example.com/your-page | grep -i 'name="robots"'
```

Google does not support a `noindex` rule inside robots.txt itself. Read more in the [noindex glossary entry](/glossary/noindex), and remember a [canonical tag](/seo/hubspot-cms/canonical-tags) is the better tool for duplicates, since noindex removes the page from Search entirely.

Sources · 4

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- hubspot.com
- google.com

1. 01 [Prevent content from appearing in search results | HubSpot Knowledge Base](https://knowledge.hubspot.com/seo/prevent-content-from-appearing-in-search-results) knowledge.hubspot.com · checked 2026-11-01
2. 02 [Block Search indexing with noindex | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/block-indexing) developers.google.com · checked 2026-11-01
3. 03 [HubL variables | HubSpot developer docs](https://developers.hubspot.com/docs/reference/cms/hubl/variables) developers.hubspot.com · checked 2026-11-01
4. 04 [View and edit a HubSpot-hosted domain sitemap | HubSpot Knowledge Base](https://knowledge.hubspot.com/domains-and-urls/view-and-edit-a-hubspot-hosted-domain-sitemap) knowledge.hubspot.com · checked 2026-11-01

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ Where do I put the noindex tag in HubSpot?

In the content editor, go to Settings > Advanced and enter the tag in the Head HTML field under Additional code snippets. Then click Update or Publish.

_02_ Why is my noindexed HubSpot page still in Google?

Google has to recrawl the page to see the tag. Also check that the page is public and that robots.txt does not block it.

_03_ Does removing a page from the HubSpot sitemap noindex it?

No. HubSpot says removing a page from the sitemap won't explicitly tell search engines that it shouldn't be indexed.

## Keep learning

[All platform guides](/seo)

[Learn HubSpot robots.txt CMS](/seo/hubspot-cms/robots-txt) [Related Noindex Crawling and indexing](/glossary/noindex) [Read next HubSpot canonical tags CMS](/seo/hubspot-cms/canonical-tags) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in platform guides
[HubSpot CMS SEO](/seo/hubspot-cms)

More in HubSpot CMS SEO
[HubSpot canonical tags](/seo/hubspot-cms/canonical-tags) [HubSpot CMS 301 redirects](/seo/hubspot-cms/redirects) [HubSpot CMS structured data](/seo/hubspot-cms/structured-data) [HubSpot noindex](/seo/hubspot-cms/noindex) [HubSpot robots.txt](/seo/hubspot-cms/robots-txt) [HubSpot XML sitemap](/seo/hubspot-cms/xml-sitemap)

Terms on this page
[SERP](/glossary/serp) [robots.txt](/glossary/robots-txt) [Knowledge Graph](/glossary/knowledge-graph) [URL Inspection tool](/glossary/url-inspection-tool) [Google Search Console](/glossary/google-search-console) [Noindex](/glossary/noindex)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
