Engineer an internal search SEO policy: indexable facets whitelist, noindex rules,…
- User
Engineer an internal search SEO policy: indexable facets whitelist, noindex rules, pagination, and schema.
Assistant
Engineer an internal search SEO policy: indexable facets whitelist, noindex rules, pagination, and schema.
The user wants an "Internal Search SEO Policy" focused on specific technical aspects:
Target Audience: This is likely for an engineering team, SEO specialists, and product managers within a company. The tone needs to be authoritative, technical, and actionable.
Key Concepts & Best Practices (Mental Sandbox):
noindex, follow on low-value URLs.rel=next/prev, but other engines use it. Best practice now is usually "View All" or treating pagination pages as separate indexable pages only if they add value (rare). Usually, noindex pagination pages or let them flow link equity but block indexing. Actually, the current standard is often to canonicalize page 2 to page 1 if it's parameter based, or keep them separate if distinct paths. Wait, Google's John Mueller recently said canonicalizing page 2 to page 1 is soft 404 territory. Better to let pagination be indexable if content is unique enough, OR (more commonly for search) noindex the subsequent pages.
noindex on paginated pages beyond page 1, or even page 1 depending on the query.ItemList is the big one here.Structure of the Policy Document:
Drafting Content - Specific Details:
/mens/shoes/color-red is indexable. /mens/shoes?color=red&size=9 is not.rel="next"/"rel="prev" saga. Google ignores it now. Yandex/Bing might care. But usually, for search, we noindex page 2+ to prevent "search page 3 of blue shoes" ranking. We want the "Blue Shoes" page 1 to rank.@type: ItemList. mainEntityOfPage.Refining the "Pagination" advice:
Current Google advice is: If you want page 2 indexed, it needs unique value. Search results page 2 has no unique value. Therefore -> noindex pagination on internal search.
Self-Correction: What if it's a category page? That's different. The user asked for Internal Search policy. Internal search usually implies a query parameter ?q=.... However, "facets" implies filtering on category pages. I will treat this as a "Faceted Navigation / Search" hybrid policy, which is standard for e-commerce.
Drafting the Policy Structure:
noindex on subsequent pages, canonicalization.ItemList.Writing the content (Iterative refinement):
X-Robots-Tag.Final Polish: Ensure the distinction between <meta name="robots"> and X-Robots-Tag HTTP headers is clear. Ensure the distinction between Canonical and Noindex is clear (Don't canonicalize a noindex page unless necessary, but usually they shouldn't conflict).
Let's organize this into a formal policy document format.
Policy Components:
path/facet-value vs path?param=value.ItemList.Self-Correction during drafting: Be careful with canonical.
Rule: If a URL is noindex, does it need a canonical? Yes, usually to the parent to consolidate signals, but technically Google ignores canonicals on pages it can't index (mostly). The safest bet:
noindex is enough. If you want link equity passed, canonical helps.
Let's stick to the standard: Noindex pages should often canonicalize to the "View All" or Page 1 to pass equity, even if they drop from index.Let's build the document. This document outlines a comprehensive technical SEO policy for managing Internal Search Results Pages (ISPs) and Faceted Navigation. This policy is designed to maximize crawl efficiency, prevent "index bloat" (cannibalization of organic rankings), and capture high-intent long-tail traffic.
Version: 1.0 Scope: Engineering, Product, SEO Team
Internal search and faceted navigation generate a near-infinite number of URL combinations. Without strict controls, search crawlers will:
The Core Philosophy: By default, all internal search and faceted URLs are Noindex. Only a specific, curated list of high-value facets (the "Whitelist") should be indexed.
Before applying meta tags, the URL structure must be normalized to ensure consistency.
domain.com/products/mens/shoes/color-bluedomain.com/products?category=shoes&gender=mens&color=blueOnly facets that represent a logical, high-volume "Category" or "Brand" should be indexed. These pages function as Landing Pages, not just filters.
Criteria for Whitelisting:
/brand/nike).Approved Indexable Facets:
| Facet Type | URL Pattern | Meta Robots | Canonical |
|---|---|---|---|
| Category | /category/{slug} | index, follow | Self-referencing |
| Brand | /brand/{slug} | index, follow | Self-referencing |
| Combined Cat + Brand | /category/{cat}/brand/{brand} | index, follow | Self-referencing |
Engineering Requirement:
Hardcode logic so that only patterns matching the above combinations generate <meta name="robots" content="index, follow">. All other combinations default to noindex.
Any facet combination that is not explicitly whitelisted must be removed from the index to prevent bloat.
Mandatory Noindex Scenarios:
sid=, user_id=, or session=.Implementation (HTTP Header Preference):
To keep HTML clean and reduce page size, implement via HTTP Headers rather than HTML <meta> tags where possible.
HTTP/1.1 200 OK
X-Robots-Tag: noindex, follow
(Note: We use follow to allow link equity to flow back to the specific products listed on the search page, even if the search page itself isn't indexed.)
Incorrect canonicalization is the most common error in search SEO.
| Scenario | Canonical Tag Destination | Logic |
|---|---|---|
| Whitelisted Page (e.g., /nike) | Self-referencing (/nike) | Tells Google this is the definitive URL. |
| Non-Whitelisted Facet (e.g., /nike?color=red) | Parent Category (/nike) | Consolidates signals to the parent indexable page. Do not canonicalize to the dynamic URL itself. |
Search Query (?q=shoes) | Root Search Page (/search) | Prevents indexing of random user queries. |
| Paginated Pages (Page 2, 3...) | View-All Page OR Page 1 | If no View-All page exists, canonicalize to Page 1 (or self-referencing if using rel="next/prev", though Google largely ignores this now). Recommendation: noindex Page 2+ and canonicalize to Page 1. |
Pagination requires a delicate balance between crawlability and indexation.
The Policy:
Index, Follow.Noindex, Follow.Internal Linking:
rel="next" and rel="prev" attributes in the <head>. While Google officially deprecated this in 2019, other engines (Bing) may still utilize it, and it serves as good semantic structure.robots.txt. If blocked in robots.txt, Google cannot crawl the noindex tag on Page 2 to see that it shouldn't be indexed (the "stealth trap").Search pages are "List" pages. Use ItemList schema to help Google understand the products on the page.
Implementation Specs:
ItemListRequired Properties:
@type: "ItemList"name: The search query or facet name (e.g., "Nike Shoes").numberOfItems: Total count of products found.itemListElement: An array of ListItem objects.Example JSON-LD (Injection):
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ItemList",
"name": "Men's Running Shoes",
"numberOfItems": 42,
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"url": "https://www.example.com/product/nike-air-zoom"
},
{
"@type": "ListItem",
"position": 2,
"url": "https://www.example.com/product/adidas-ultraboost"
}
]
}
</script>
Breadcrumbs: Every Internal Search Page must have BreadcrumbList schema reflecting the site hierarchy.
Use robots.txt to stop crawling of resource-heavy or useless parameters before they hit the server.
User-agent: *
# Block specific sorting and utility parameters
Disallow: /*?*sort=
Disallow: /*?*order=
Disallow: /*?*limit=
Disallow: /*?*mode=
Disallow: /*?*price=
Disallow: /*?*size=
# Block internal search queries (unless you want them indexed)
Disallow: /search?
index, follow + Self-Canonical.noindex, follow + Canonical to Parent.noindex, follow.ItemList JSON-LD present on all search/facet URLs?X-Robots-Tag headers preferred over meta tags for noindex?