Page already indexed, must leave search results
- Use
noindexmeta tag in Head HTML- Why
- HubSpot says the tag tells search engines to stop displaying it in results
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.
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.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
noindex meta tag in Head HTMLDisallowhs-sites system domainClick 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.
In the content editor, click Settings in the top right, then click Advanced in the left sidebar menu of the dialog box.
In the Additional code snippets section, enter the code below in the Head HTML field.
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.
<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.
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.{% if request.path == "/thank-you" %}
<meta name="robots" content="noindex">
{% endif %}
{{ standard_header_includes }}HubSpot says private or password-protected pages won't be crawled, which stops the tag being read.
Confirm the tag was saved and renders on the published page.
A Disallow rule that matches the page means search engines can't read the tag. See HubSpot robots.txt and the blocked by robots.txt issue.
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.
HubSpot points to Google Search Console's Removals Tool.
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.
3 questions people ask next, answered from the sources on this page.
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.
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.
No. HubSpot says removing a page from the sitemap won't explicitly tell search engines that it shouldn't be indexed.
Run the free audit, then approve the fixes. Every change can be undone.