Fix a noindex tag
By Chris Hornak · Steps last checked · Part of the Swift Site Audit support pages
The short answer
A noindex tag tells Google not to show a page in search results. It is one line in the page code: <meta name="robots" content="noindex">. It is fine on a thank-you page. It is a serious problem on a page buyers should find, because it hides the page no matter what else you fix. Change it to index, follow where it comes from, or leave the tag out: Google treats a page with no robots tag the same way. Then check that robots.txt does not block the page, and ask Google to visit the page again.
Noindex is right on some pages and wrong on others. Use it only on pages you never want in search results.
| Page | Noindex? |
|---|---|
| Homepage, service pages, product pages, blog posts | No. These are the pages buyers search for. |
| Thank-you page after a form | Fine. A buyer should only reach it after the form. |
| Login page, internal search results | Fine. |
| A private page | Not enough. Anyone with the link can still open it, so put it behind a login. |
From our audit data: The audit read 82 of our 93 test homepages. The other 11 blocked it or failed to load. None of the 82 had a noindex or nofollow tag.
What the audit found
The audit reads the page you tested. Find the line your report shows, then jump to its fix.
Your page is hidden from Google
Your report says: Indexability · Page is blocked from indexing
The page has a robots tag with noindex in it. Google's rule for noindex is short: "Do not show this page, media, or resource in search results." On a page buyers should find, nothing else on the audit matters until this is gone. It usually comes from a setting in your site builder that hides the page, or a line someone pasted into the page code.
<head>
<title>Healthcare IT Staffing | Example Staffing Co.</title>
<meta name="robots" content="noindex">
</head><head>
<title>Healthcare IT Staffing | Example Staffing Co.</title>
<meta name="robots" content="index, follow">
</head>Fix: change the tag to index, follow where it comes from. Find your platform below. You can also leave the tag out: Google treats a page with no robots tag the same way. Then make sure robots.txt does not block the page, or Google never sees the change.
Google is told not to follow your links
Your report says: Indexability · Page blocks all link following
The page has a robots tag with nofollow in it. Google reads it as "Do not follow the links on this page." Without it, Google says it "may use the links on the page to discover those linked pages." On your homepage, nofollow stops Google from using your menu and links to find the rest of your site. The audit checks for nofollow only on pages that have no noindex.
<head>
<title>Healthcare IT Staffing | Example Staffing Co.</title>
<meta name="robots" content="nofollow">
</head><head>
<title>Healthcare IT Staffing | Example Staffing Co.</title>
<meta name="robots" content="index, follow">
</head>Fix: change nofollow to follow, so the tag says index, follow. You can also leave the tag out: following links is what Google does when there is no tag.
Make the change on your platform
Plain code shows first. Pick your platform and we remember it on every support page.
Plain code
Plain HTML
- Open the page file and find
<meta name="robots"inside<head>. - Change
contenttoindex, follow. Or delete the line: Google treats a page with no robots tag the same way. - Upload the file.
<head>
<meta name="robots" content="index, follow">
</head>
Next.js
Look for robots in the page's metadata and in every layout.tsx above it. A robots setting in the root layout applies to every page that doesn't set its own.
// app/layout.tsx or app/services/page.tsx
export const metadata = {
robots: { index: true, follow: true }, // or delete the robots line
}
Next.js docs say index: false and follow: false write noindex and nofollow.
Source: Google Search Central: Robots meta tag · MDN: meta name="robots" · Next.js: generateMetadata
WordPress
Yoast SEO
First, the site-wide box
- Go to Settings › Reading.
- Untick Discourage search engines from indexing this site and click Save Changes.
This one box puts noindex, nofollow on every page, so the audit flags both problems. Yoast follows it.
One page
- Open the page in the editor. Click the Yoast icon at the top right, or scroll to the Yoast box under your content.
- Open the Advanced tab. Set Allow search engines to show this content in search results? to Yes.
- Set Should search engines follow links on this content? to Yes. Update the page.
Only editors and administrators see the Advanced tab.
A whole type of page
- Go to Yoast SEO › Settings and pick the type under Content types, such as Pages.
- Turn on Show Pages in search results and click Save changes.
Source: Yoast: How to noindex URLs · Yoast: How to noindex an entire site · WordPress: Reading Settings
Rank Math
First, the site-wide box
- Go to Settings › Reading.
- Untick Discourage search engines from indexing this site and click Save Changes.
While this box is ticked, Rank Math puts noindex and nofollow on every page, whatever each page's own settings say.
One page
- Open the page in the editor and click the Rank Math icon at the top right.
- Open the Advanced tab. Untick No Index and No Follow. Update the page.
No Advanced tab? Go to Rank Math SEO › Dashboard and switch to Advanced Mode.
The whole site or a type of page
- Go to Rank Math SEO › Titles & Meta › Global Meta.
- Under Robots Meta, select Index and click Save Changes.
- Check the Homepage tab and each post type tab the same way.
Rank Math's own help warns: "Remember to switch this setting back to Index when your site goes live."
Source: Rank Math: How to noindex a page · WordPress: Reading Settings
No SEO plugin
The site-wide box
- Go to Settings › Reading.
- Untick Discourage search engines from indexing this site and click Save Changes.
This box puts noindex, nofollow on every page. WordPress on its own can't hide or show one page, so if the tag is still there, your theme or another plugin adds it.
Source: WordPress: Reading Settings
Squarespace
A page
- In the Pages panel, hover over the page and click the settings icon.
- Open the SEO tab and turn off Hide page from search results.
- Save.
Still there?
- Open the page's settings, then the Advanced tab. Look in Page header code injection for a line with
noindex. Change it toindex, follow, or delete the line. - Check the General tab too. A disabled page or a page with a password is hidden from search engines.
The whole site
- Open the Site Availability panel.
- Select Public and save. Squarespace sites start out private, and only Public sites can show in search.
Squarespace always hides your cart and checkout pages from search. That is normal and can't be changed.
Source: Squarespace: Hiding your site from search results · Squarespace: Controlling who can access your pages · Squarespace: Understanding Google SEO emails and console errors
Shopify
Good to know: Shopify has no noindex switch, and its own Dawn and Horizon themes add no noindex. A noindex comes from one of the places below.
Theme code
- Duplicate your theme first, as a backup.
- Go to Online Store › Themes, click the actions menu (…) and choose Edit code.
- In the layout folder, open theme.liquid and search for
noindex. - Delete the
{% if %}block around it, then Save.
The SEO Hidden field
- Open the page, product or blog post and scroll to Metafields.
- If SEO Hidden has a value, delete it so the field is blank, and save.
Shopify says apps can set this field too. If you use an SEO app, check its settings.
Unlisted products
An Unlisted product is hidden from search. Set it back to Active if buyers should find it.
Webflow
Good to know: Webflow has no switch called noindex. Its Sitemap indexing switch adds the noindex tag when you turn it off.
A page
- Open the page's Page settings › SEO settings.
- Turn Sitemap indexing on.
- Publish your site.
A CMS item (a blog post, a case study)
- Open the Collection, then the item.
- In Item details, turn Sitemap Indexing on.
- Save and publish.
Still there?
Someone may have pasted the tag by hand. Look in the page's Custom code and in your site's custom code for noindex. Change it to index, follow, or delete the line, then publish.
Framer
Any page
- Open the page in Framer and click the gear icon in the top toolbar to open Page Settings.
- Find the search engines switch. Framer's help calls it Search engines in one article and Show this page in search engines in another.
- Turn it on, then publish again.
- Ask Google to visit the page again (see Check it worked below).
Source: Framer Help: Prevent pages from being indexed · Framer Help: Google is not indexing my site
HubSpot
Good to know: HubSpot pages have no noindex switch. A noindex is a line someone pasted into the page's Head HTML. HubSpot's own addresses with hs-sites in them are always hidden from search, so check the page on your own domain.
Website pages and landing pages
- Go to Content › Website Pages or Content › Landing Pages. If you see More, open it first.
- Click the page name, then Settings at the top right.
- Click Advanced in the left sidebar.
- In Additional code snippets, find
<meta name="robots" content="noindex">in the Head HTML field. Changenoindextoindex, follow, or delete the line. - Close the settings and click Update.
Source: HubSpot: Prevent content from appearing in search results
Payload or Sanity
Payload
Good to know: Payload's SEO plugin has no noindex field. A noindex on your public site comes from the site's own code, or from a field your developer added.
- Open the page in the admin panel and look for a field such as No index or Hide from search. Turn it off and publish.
- No such field? Ask your developer to check the site code. On a Next.js site, see the Code tab.
Payload hides its own admin panel from search engines on purpose. That is normal and doesn't affect your public pages.
Source: Payload: SEO plugin · Payload: Page metadata
Sanity
Good to know: Sanity has no built-in noindex. Sanity's own SEO course adds a noIndex field to each page's SEO section.
- Open the page or post and find its SEO section.
- If it has a noindex field, turn it off and publish.
- No such field? Ask your developer to check the site code.
Check it worked
- Open the page, right-click and choose View page source. Search for
name="robots". The tag should sayindex, follow, or there should be no robots tag at all. - Run the Swift Site Audit again. The Indexability line should pass.
- In Google Search Console, open URL Inspection, inspect the page and click Test live URL. Then click Request indexing. Google says crawling can take anywhere from a few days to a few weeks.
Common mistakes
- Blocking the page in robots.txt too. Google has to visit the page to read the tag. Google says that if robots.txt blocks a page, its robots tag "will not be found and will therefore be ignored", and the page can still show up if other pages link to it. See Fix robots.txt blocking search engines.
- Using noindex to keep a page private. Anyone with the link can still open it. Put private pages behind a login.
- Using noindex for duplicate pages. Google doesn't recommend it. Use a canonical tag to name the main page instead.
- A noindex sent by the server. Google also reads the rule from an HTTP header called
X-Robots-Tag. The audit reads only the tag in the page code. If Search Console still says Excluded by 'noindex' tag after you fix the tag, ask your developer or host to check the header.
Fix it yourself, or have us do it
Related
- Fix robots.txt blocking search engines: the other way a page gets shut out
- Fix your canonical tag: the right tool for duplicate pages
- How to audit your website like a buyer would: why search is the first step of a buyer's visit
Sources
Official documentation only. Each link was opened and read on December 3, 2026.


