Search results indexable

Moderate effort

Found on 1% of audited stores.

Add a noindex robots meta tag to all internal search results pages and block the search path in robots.txt to prevent thin, duplicate, near-infinite pages from polluting Google's index.

What it is

When a visitor types something into your store's search box, the results appear on a URL like /search?q=red+shoes. These pages are generated on the fly — there are potentially millions of them (one for every possible search term). They contain no unique content of their own; they just pull together product listings that already exist elsewhere on your site. "Search results indexable" means Google can currently crawl and index these pages, which it should not be doing.

Why it matters

Letting Google index your internal search results wastes your crawl budget — Googlebot spends time on throwaway pages instead of your real product and category pages, which can slow down how quickly new products get discovered and ranked. These pages are considered "thin content" and can dilute the overall quality signal of your site, potentially dragging down rankings across your entire domain. They also create a near-infinite duplicate URL space (every search query is a new URL) that can trigger duplicate-content issues. Blocking them is a well-established best practice recommended by Google itself and costs you nothing in organic traffic — nobody finds your site via a search results page.

How to fix it

  1. Identify all URL patterns used by your site's internal search (commonly /search?q=, /search/, ?s=, or similar) by running a few searches and noting the URL structure.
  2. Add a <meta name="robots" content="noindex,follow"> tag inside the <head> of every page served by your search results template — 'follow' ensures any links on those pages are still crawled.
  3. Add a Disallow rule to your robots.txt file for the search path (e.g. Disallow: /search) to stop Googlebot from crawling new search URLs and wasting crawl budget — note that robots.txt alone does not remove already-indexed pages, so the meta tag is also required.
  4. Verify your robots.txt change using Google Search Console's robots.txt Tester tool, and confirm the meta tag is present in the page source of a live search results page.
  5. Request removal of already-indexed search URLs in Google Search Console under Removals > Temporary Removals if you need them gone quickly, or simply let Google discover the noindex tag on its next crawl.
  6. Monitor Google Search Console's Coverage or Indexing report over the following weeks to confirm search result URLs are moving to the 'Excluded — noindex' bucket.
<meta name="robots" content="noindex,follow">

# robots.txt addition (adjust path to match your platform)
User-agent: *
Disallow: /search
Disallow: /search/

Fix it on your platform

Pick your platform for the exact steps.

How to fix search results indexable on Shopify
  1. In your Shopify admin go to Online Store → Themes → (your active theme) → Actions → Edit code.
  2. Open the template file responsible for search results: it is usually templates/search.liquid or, for JSON templates, sections/main-search.liquid.
  3. Inside that file (or in layout/theme.liquid conditionally), locate the opening <head> tag and add: {% if template == 'search' %}<meta name="robots" content="noindex,follow">{% endif %}
  4. For robots.txt: Shopify generates robots.txt automatically. Go to Online Store → Preferences → robots.txt — click 'Edit robots.txt' (Shopify 2.0 themes expose a robots.txt.liquid file in the Templates folder). Add: Disallow: /search and Disallow: /search/
  5. Save both files and verify by visiting /search?q=test on your live store and using View Source to confirm the meta tag appears in <head>.
How to fix search results indexable on Shopify Plus
  1. Follow the same steps as Shopify above — Shopify Plus gives you identical theme-file access plus the robots.txt.liquid file is always editable.
  2. If you manage multiple storefronts, apply the change to each theme individually.
  3. Use the Shopify Plus Script Editor or custom app if you need to programmatically suppress noindex on specific search contexts (e.g. staff previews).
How to fix search results indexable on WooCommerce
  1. Install the free Yoast SEO or Rank Math plugin if not already installed.
  2. In Yoast SEO: go to SEO → Search Appearance → Archives → Search Pages and toggle 'Show search pages in search results?' to OFF (sets noindex automatically).
  3. In Rank Math: go to Rank Math → Titles & Meta → Search Results and enable 'No Index'.
  4. For robots.txt: go to SEO → Tools → File Editor (Yoast) or Rank Math → General Settings → Edit robots.txt, and add: Disallow: /?s= (WordPress default search uses ?s= query parameter).
  5. Verify by visiting /?s=test on your store and checking the page source for the noindex meta tag.
How to fix search results indexable on BigCommerce
  1. Log in to your BigCommerce control panel and go to Storefront → Script Manager — add a script scoped to 'All Pages' that conditionally outputs the noindex meta tag only on search pages.
  2. Alternatively, go to Storefront → My Themes → Advanced → Edit Theme Files and open templates/pages/search.html. Add <meta name="robots" content="noindex,follow"> inside the {{> components/common/head}} block or directly in the <head> partial.
  3. For robots.txt: BigCommerce does not provide a UI editor for robots.txt on all plans. Go to Server Settings → robots.txt (available on higher plans) or contact BigCommerce support to add: Disallow: /search/
  4. Alternatively, use a third-party SEO app from the BigCommerce App Marketplace (e.g. SEO Manager) to set noindex on the search template.
  5. Confirm the change by viewing the page source of a live /search/?q=test page.
How to fix search results indexable on Wix
  1. In the Wix Editor, click on your Search Results page in the Pages panel.
  2. Open Page Settings (gear icon) → SEO (Google) tab.
  3. Check the box labelled 'Hide this page from search results' — this adds noindex to the page automatically.
  4. For robots.txt: go to your Wix Dashboard → Marketing & SEO → SEO Tools → robots.txt and add: Disallow: /search (adjust to match your search page slug).
  5. Publish the site and verify via View Source on a live search URL.
How to fix search results indexable on Squarespace
  1. In your Squarespace admin, go to Pages and locate your Search Page.
  2. Click the gear icon → SEO tab and check 'Hide Page from Search Engines' — this inserts a noindex meta tag.
  3. For robots.txt: Squarespace automatically generates robots.txt but does not currently provide a user-editable interface. You can inject a noindex meta tag via Settings → Advanced → Code Injection (add it only conditionally using Squarespace's {squarespace.page} context, or apply site-wide with a JavaScript check on window.location).
  4. Use a Code Block with custom JavaScript or the Header Code Injection to detect the search URL and insert the meta tag: if(window.location.pathname.includes('/search')){document.head.insertAdjacentHTML('beforeend','<meta name="robots" content="noindex,follow">')}
  5. Verify by loading a search results URL and using a browser extension or View Source to confirm the noindex tag.
How to fix search results indexable on Webflow
  1. In the Webflow Designer, select your Search Results page in the Pages panel on the left.
  2. Click the gear icon to open Page Settings, then scroll to 'SEO Settings'.
  3. Check the box 'Exclude this page from search results (noindex)' — Webflow will add the meta tag automatically.
  4. For robots.txt: go to Project Settings → SEO → Robots.txt and add: Disallow: /search (or whatever slug your search page uses).
  5. Publish the site and confirm by viewing the page source of a live search URL.
How to fix search results indexable on Adobe Commerce (Magento)
  1. Log in to your Magento Admin and go to Content → Design → Configuration → (your store view) → HTML Head.
  2. Magento does not have a built-in per-page noindex toggle for search. Instead, create a custom layout XML file: app/design/frontend/<Vendor>/<Theme>/Magento_CatalogSearch/layout/catalogsearch_result_index.xml
  3. Inside that file add: <page><head><meta name="robots" content="NOINDEX,FOLLOW"/></head></page> — Magento's layout system will inject this only on search result pages.
  4. For robots.txt: go to Content → Design → Search Engine Robots, choose your store view, and add to the 'Edit Custom Instruction of robots.txt File' field: Disallow: /catalogsearch/ (Magento's default search path).
  5. Flush the Magento cache under System → Cache Management, then verify by loading /catalogsearch/result/?q=test and checking View Source.
How to fix search results indexable on Magento Open Source
  1. Follow the same steps as Adobe Commerce (Magento) above — the layout XML approach and robots.txt editor are identical in Magento Open Source.
  2. The search results layout handle is catalogsearch_result_index.xml in the Magento_CatalogSearch module.
  3. Flush caches after saving: php bin/magento cache:flush from the server CLI.
How to fix search results indexable on PrestaShop
  1. Access your PrestaShop back office and go to Shop Parameters → Traffic & SEO → SEO & URLs.
  2. Find the 'search' page entry in the list and click Edit.
  3. In the meta robots field, set the value to 'noindex, follow' and save.
  4. For robots.txt: go to Shop Parameters → Traffic & SEO → scroll to the 'Robots' section → click 'Generate robots.txt file'. Manually edit the generated file on your server (root/robots.txt) to add: Disallow: /search or use the text area in the admin to include the Disallow rule before regenerating.
  5. Verify by loading a live search URL and inspecting the <head> for the robots meta tag.
How to fix search results indexable on WordPress.org
  1. Install Yoast SEO or Rank Math if not already active.
  2. In Yoast SEO: SEO → Search Appearance → Archives → Search Pages → toggle noindex ON.
  3. In Rank Math: Rank Math → Titles & Meta → Search Results → enable 'No Index'.
  4. Edit your robots.txt (accessible via Yoast SEO → Tools → File Editor or directly on the server at the WordPress root) and add: Disallow: /?s=
  5. Confirm by visiting /?s=anyterm and checking View Source for <meta name="robots" content="noindex">

Does your site have this issue?

Run a free SEOLZ audit to find search results indexable — and every other issue — across your whole site in minutes.

Scan my site free

Frequently asked questions

What is Search results indexable?

When a visitor types something into your store's search box, the results appear on a URL like /search?q=red+shoes. These pages are generated on the fly — there are potentially millions of them (one for every possible search term). They contain no unique content of their own; they just pull together product listings that already exist elsewhere on your site. "Search results indexable" means Google can currently crawl and index these pages, which it should not be doing.

Why does search results indexable matter?

Letting Google index your internal search results wastes your crawl budget — Googlebot spends time on throwaway pages instead of your real product and category pages, which can slow down how quickly new products get discovered and ranked. These pages are considered "thin content" and can dilute the overall quality signal of your site, potentially dragging down rankings across your entire domain. They also create a near-infinite duplicate URL space (every search query is a new URL) that can trigger duplicate-content issues. Blocking them is a well-established best practice recommended by Google itself and costs you nothing in organic traffic — nobody finds your site via a search results page.

How do I fix search results indexable?

Add a noindex robots meta tag to all internal search results pages and block the search path in robots.txt to prevent thin, duplicate, near-infinite pages from polluting Google's index.

Authoritative references

Related SEO issues