All writing
Technical SEOWeb architecturePerformance

Engineering SEO at scale: rendering, crawl control and site architecture

Build a finite, discoverable public URL space with meaningful HTML, consistent metadata and operational checks for indexing failures.

A catalog has 50,000 useful product pages and several million filter combinations. Most crawler requests reach sorted or empty variants. New products take longer to appear in search, the origin spends capacity generating low-value pages, and the team responds by adding more metadata.

The primary engineering problem is the URL and rendering architecture. Search engines need to discover useful pages, retrieve meaningful content, interpret consistent signals and avoid wasting work on an uncontrolled space of variants.

The catalog is hypothetical. Google's guidance supplies the crawl and indexing constraints; the worked architecture turns them into URL, rendering and release contracts. Content quality and search demand still determine whether eligible pages deserve visibility.

Define the public page inventory before generating URLs

Create a registry of page classes: products, categories, curated collections, articles, search results, filter variants and private application routes. For each, define whether it should be crawlable, indexable, canonical, discoverable internally and present in a sitemap.

These properties differ. A page may be crawlable so a search engine can see its noindex directive. A duplicate page may be crawlable with a canonical hint. A private page requires authentication regardless of search instructions.

Decide which combinations provide a useful search destination. A curated category with unique content and stable inventory can be valuable. Every possible sort order or arbitrary filter combination does not automatically deserve an indexed page.

Keep one deterministic URL for the same intended resource. Normalize parameter order and encoding through a shared function used by links, canonical metadata and sitemaps. Avoid producing different identities depending on which component generated the link.

Control combinatorial growth at the source

Even a modest set of dimensions can create a large URL space. Ten brands, twelve colors, five sizes, three sort orders and one hundred pagination positions produce 180,000 combinations if each is exposed independently for one category. Multi-select filters can create far more.

The goal is not to crawl every combination faster. Choose the finite subset that should be public search content, and keep utility filters from generating an uncontrolled discovery graph.

Google's December 2024 faceted-navigation guidance describes overcrawling from filter combinations and distinguishes blocking unwanted crawl paths from making intended faceted pages crawlable. Canonical hints can consolidate signals over time; they are not an immediate substitute for crawl control.

For a retained faceted page, use consistent parameters, meaningful content and appropriate empty-result behavior. Do not redirect every empty combination to a generic category merely to avoid a not-found response. That can misrepresent the URL and create confusing indexing signals.

For utility filters that should not be crawled, choose a navigation and robots policy compatible with the user experience. Review existing indexed URLs before changing policy. Blocking a path can prevent the crawler from seeing a later removal or noindex instruction.

Search systems can render JavaScript, but rendering is another processing stage with failure conditions. Important content should not depend on a user scrolling, opening a modal or completing an authenticated API request.

Google's JavaScript SEO guide describes crawling, rendering and indexing, and notes that blocked resources or pages cannot be rendered normally. Pre-rendered or server-rendered meaningful content reduces dependence on client execution and helps users as well as crawlers.

Use ordinary anchors with resolvable URLs for discovery. A button that changes an internal state variable is not equivalent to a link to a category page. Infinite scrolling should have a supported path to subsequent content rather than requiring a crawler to simulate human gestures.

Avoid duplicating public content behind an API that requires a browser token the crawler cannot obtain. Public rendering should receive an appropriately scoped public view; private application data should remain private.

Check the rendered result as well as the raw response. A server can provide good initial content that client code later replaces with an empty state because a request fails. Hydration errors and blocked resources can change the actual page a renderer observes.

Return HTTP status codes that describe the resource

A nonexistent product should not return a success page containing “not found.” A retired product, a temporary origin failure and a moved URL have different meanings and should use appropriate response behavior.

Choose redirects that preserve the resource's meaning. Redirect a moved product to its replacement or new location, not every removed URL to the homepage. Avoid long chains and loops, and update internal links to the final destination.

Streaming can complicate status decisions once headers are sent. Validate critical resource existence and access at the correct stage of rendering. Test the deployed response for not-found and error paths rather than assuming a component's displayed message establishes the status.

Keep transient failures distinct from permanent removal. An empty database result caused by a dependency outage should not publish a mass of permanent not-found responses. Conversely, swallowing every error and returning 200 can create soft-error pages that appear healthy in uptime checks.

Keep canonical, robots and sitemap signals consistent

A canonical link identifies a preferred representative among duplicate or closely equivalent pages. It is a signal, not an access-control rule or an unconditional command. Google's canonicalization documentation recommends consistent methods and avoiding conflicting canonical signals.

Use the same canonical identity in internal links and the sitemap where appropriate. Do not point every filter page to a category if the pages have materially different content and a separate search purpose. Decide whether the filter is intended content first.

noindex needs to be visible to the crawler. Google's noindex documentation explains that a robots.txt block can prevent the crawler from seeing it. Robots.txt controls crawling; it does not secure private content or guarantee that a discovered URL cannot appear in search.

Sitemaps should contain intended canonical public URLs with accurate modification information. Updating every lastmod value on every build makes it a poor description of actual content changes. Publication and revision dates should reflect real events.

Generate metadata and sitemap entries from the same content source as the page. Parallel manual registries drift. Add checks for missing pages, duplicate canonicals and URLs that return redirects or errors when the sitemap expects a successful canonical page.

Design internal linking as an information architecture

Useful pages need paths from other useful pages. Category hierarchies, related resources and contextual links help users and crawlers understand the collection. Avoid orphan pages that exist only in a sitemap.

Use descriptive anchor text that reflects the destination. A thousand identical “learn more” links are less informative than links tied to the user's task. Keep navigation finite and avoid generating links to every filter permutation.

Pagination should expose subsequent content through real URLs. Preserve stable ordering where practical so items do not continually move between pages during a crawl. If inventory changes frequently, design the canonical and discovery behavior around that volatility.

For localized pages, define locale-specific URLs and metadata consistently. Automatic redirects based solely on location or browser language can prevent users and crawlers from reaching a requested version. Maintain a deliberate linking and language-alternative policy.

The architecture should support editorial judgment. Programmatically generated pages need distinct usefulness, not just templated text with substituted keywords. Engineering can produce pages at scale; it cannot manufacture search demand or useful content by multiplying URLs.

Optimize performance by the work users experience

Rendering cost includes server work, network transfer, browser parsing, hydration and interaction. A fast first byte with an enormous client bundle can still produce a poor experience. A small bundle with a slow sequential server waterfall can also fail.

Measure field performance by page class and device, then use controlled tests to diagnose causes. Aggregate scores can conceal a slow product-detail route or a long task that affects low-powered devices.

Interaction to Next Paint became a Core Web Vital in March 2024. It draws attention to responsiveness during interactions, not just the initial load. Reduce long tasks, isolate heavy optional work and keep interactive boundaries proportionate to the feature.

Reserve image dimensions and avoid layout shifts from late content. Serve appropriately sized images and prioritize the actual main content rather than every image. Loading more assets early can compete with the resource the user needs first.

Treat caching as a freshness and scope decision. Public pages can benefit from reuse, but price and availability displays need a contract, and private responses must not leak through shared caches. Checkout remains an authoritative command regardless of how the product page was rendered.

Observe the crawl workload without trusting a user-agent string

Analyze access logs by page class, status, latency and variant type. Identify how much work reaches canonical content versus filter and tracking variants. Protect log access and avoid retaining sensitive query parameters unnecessarily.

If distinguishing genuine crawler traffic matters, use the search provider's documented verification method. A caller can send a Googlebot user-agent string. Do not grant privileged behavior or unrestricted capacity solely on that label.

For very large or rapidly changing sites, Google's crawl-budget guide describes capacity and demand considerations. Small sites with promptly discovered pages usually need accurate sitemaps and indexing diagnostics before elaborate crawl-budget work.

Correlate origin health with crawling. Slow responses and errors can reduce useful crawl progress, while a surge of low-value variants consumes the same backend resources needed for customers. Bound page generation cost and avoid using a live expensive search query for every arbitrary URL.

Search Console can reveal discovered-but-unindexed pages, selected canonicals and rendering issues. Treat these as diagnostic signals, not a single score. Investigate representative URLs in the affected class and compare their actual content and response behavior.

Put page intent in one source of truth

For a catalog, define a page record containing resource identity, publication state, canonical path, substantive content revision and indexing policy. Rendering, internal links and sitemaps should use that record. If each layer invents its own rules, a retired product can disappear from navigation while continuing to receive a fresh sitemap timestamp and a successful page response.

Distinguish an unpublished resource from a removed one. A preview may require authentication and remain outside public discovery. A moved resource needs a meaning-preserving redirect. A permanently removed resource needs the chosen removal behavior. A temporary dependency failure should not change the registry's publication state.

The substantive revision is separate from a build identifier. A deployment changing navigation CSS does not necessarily modify every product description. Update modification metadata when relevant content changes, and retain the underlying event. This makes sitemap information more useful without claiming that a search engine will obey it immediately.

Test a filter policy as a graph

Take a retained category page with colour and size controls. Enumerate which controls generate crawlable links, which combinations are intended destinations, and which utility states remain outside that graph. Then traverse representative paths from the category and compare the discovered URLs against the intended registry.

The test should preserve user navigation. A useful filter can still work without creating a crawlable destination for every arbitrary combination. Conversely, a curated search landing page needs a stable anchor path and meaningful content; hiding it behind browser state removes the very discovery route it was created to serve.

Check normalization with reordered parameters, defaults, tracking values and impossible combinations. A canonical should identify equivalent content, not silently discard a filter that changes the page's purpose. If the filtered content is intentionally a distinct search destination, give it its own supported identity and linking policy.

Empty and deep pagination states need a decision too. Do not generate endless “next” links into pages with no records. Preserve real pagination for subsequent content, and test changes in inventory so an old link does not become an accidental infinite crawl path.

Diagnose an indexing loss with retained URLs

Choose affected URLs from one page class, together with unaffected controls. Compare the deployed status, initial HTML, rendered content, canonical, robots directives, internal links and sitemap membership. Keep the observation date and deployment revision. An index report is delayed evidence; it cannot alone identify which release caused a change.

If the page is discovered but not indexed, inspect its actual usefulness and duplication as well as technical eligibility. If the selected canonical differs, compare the signals and content of both URLs. If rendering fails, investigate blocked resources and the data path. These are different hypotheses; changing every meta tag at once makes the result harder to interpret.

Release a repair to a bounded page class where possible, retain the before/after responses and monitor over the search system's processing interval. Avoid claiming that a faster page or corrected canonical caused a ranking increase without evidence that separates other content and demand changes.

Add SEO contracts to release verification

Create representative fixtures for each page class: normal product, removed product, empty category, filter variant, paginated list, localized page and private route. Verify status, title, canonical, robots policy, key content and crawlable links.

Check metadata consistency in a production build and after client navigation. A stale title or canonical can remain from the previous page if navigation logic updates only the visible body. Verify the public HTML and rendered DOM where the implementation requires both.

Test robots and sitemap changes separately from routine content changes. A broad disallow rule, accidental noindex or incorrect production hostname can affect a large collection immediately. Give these configuration changes clear review and rollback ownership.

Keep a release inventory of added, moved and removed URLs. Redirects and internal links should change together. Monitor affected page classes after rollout, allowing for search processing delays rather than claiming immediate indexing results.

Keep the intended page inventory, deployed responses and discovery graph consistent. When an indexing problem appears, those records let you investigate a specific URL class instead of changing metadata across the entire site and hoping.

About the author

Israel Oduguwa

Senior full-stack software engineer working on platform architecture, payment infrastructure and AI systems. Creator of SafeStripe and AI evaluation expert at micro1.

View my engineering work