Free auditStart free
GuideHubSpot CMS · Noindex

HubSpot 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 withChatGPTClaudePerplexityGoogleAI Mode

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
02How 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 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.

03Check 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.
Template head, illustrative pattern
{% if request.path == "/thank-you" %}
  <meta name="robots" content="noindex">
{% endif %}
{{ standard_header_includes }}
04Worth 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.

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.

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, and remember a canonical tag 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. 01Prevent content from appearing in search results | HubSpot Knowledge Baseknowledge.hubspot.com · checked 2026-11-01
  2. 02Block Search indexing with noindex | Google Search Centraldevelopers.google.com · checked 2026-11-01
  3. 03HubL variables | HubSpot developer docsdevelopers.hubspot.com · checked 2026-11-01
  4. 04View and edit a HubSpot-hosted domain sitemap | HubSpot Knowledge Baseknowledge.hubspot.com · checked 2026-11-01
Questions

Asked a lot.

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

01Where 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.

02Why 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.

03Does 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.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane