SearchSG SEO / AEO Best Practice Guide for Website Owners
Optimising websites for SearchSG crawlers, AI Search, and conversational experiences in VICA
1. Introduction: From SEO to AEO in Government Search
Traditional SEO (Search Engine Optimisation) focuses on improving page ranking in search engine results. However, modern government search systems such as SearchSG and VICA go beyond ranking—they generate direct answers, summaries, and conversational responses grounded in web content.
This introduces a new discipline: Answer Engine Optimisation (AEO).
What is AEO?
AEO ensures content is:
- Easily interpreted by crawlers and large language models
- Properly segmented into retrievable passages
- Rich in semantic context for accurate summarisation
- Structured for grounding in AI-generated responses
Unlike traditional SEO, AEO determines whether content can be used as trusted knowledge in AI answers, not just listed in search results.
2. How SearchSG Crawling & AI Indexing Works
SearchSG operates its own web crawler infrastructure to automatically discover, fetch, and index website content for search and AI-generated responses.
SearchSG crawlers typically revisit your website at least once per day to detect newly published or updated content.
By default, SearchSG only crawls and indexes content within your website’s domain and subdomains. External websites linked from your pages are generally not crawled or indexed.
What Gets Crawled and Indexed
When using a Web Data Source, SearchSG automatically discovers and indexes publicly accessible content within your domain.
Primary Crawling Sources
SearchSG will:
- Crawl and index URLs listed in your
sitemap.xml - Discover additional pages through internal links within:
- Your root domain (e.g.
tech.gov.sg,www.tech.gov.sg) - Your subdomains (e.g.
info.standards.tech.gov.sg)
- Your root domain (e.g.
This helps ensure comprehensive coverage of your website content.
Automatically Indexed External Government Content
SearchSG can also index selected government-hosted content linked from your webpages, even when the files are hosted outside your domain.
Supported examples include:
- FormSG forms hosted on
form.gov.sg - Documents and files hosted on:
isomer-user-content.by.gov.sgfile.go.gov.sgfiles.app.optical.gov.sgassets.app.optical.gov.sg
This allows linked forms and documents to appear in search and AI retrieval results alongside your website content.
Controlling What Gets Indexed
You can configure further inclusion or exclusion rules to control which pages SearchSG indexes within SearchSG Admin Portal.
Configure these settings in:
Index Library → Select Index → Data Sources → Select Web Data Source → Edit → Update whitelist/blacklist
3. What Makes Content AI-Ready
For content to be reliably surfaced and used in AI-powered search and conversational experiences, it must support both discovery and understanding.
A. Crawl-Level Attributes (Discovery)
These factors determine whether AI systems and search crawlers can successfully find and access the content.
Key considerations include:
- Proper
robots.txtconfiguration - Complete and up-to-date sitemaps
- Clean, consistent URL structures
- Blocking crawl traps and outdated pages via
robots.txt
B. Page-Level Content Attributes (Understanding)
These factors determine whether the content can be accurately interpreted, indexed, and summarized by AI systems.
Content Clarity
The content should be easy to read and understand:
- Clear page titles, section headings, and hierarchy
- Self-contained paragraphs with sufficient context
- Avoidance of duplicate, thin, or placeholder pages targeting the same topic
Machine Readability
The content should also be structured in a way that machines can reliably parse:
- Semantic HTML structure
- Proper HTML metadata (especially publish and updated dates)
- Minimal reliance on UI interactions to reveal important content
- Structured metadata such as JSON-LD
4. Crawl, Discovery & Scraping Best Practices
This section covers how to optimise your website for SearchSG to discover and extracts content from your website.
4.1 robots.txt Configuration (CRITICAL)
SearchSG respects robots.txt for crawl access and sitemap discovery.
Recommended configuration
User-agent: SearchSG
Disallow: /protected/
User-agent: *
Allow: /
Sitemap: https://www.example.gov.sg/sitemap.xmlBest practices
- Always declare sitemap location
- Avoid blocking public content
- Explicitly allow SearchSG access where needed
4.2 Sitemap.xml Completeness (HIGH IMPACT)
A complete sitemap ensures efficient and accurate indexing.
Best practices
- Include all canonical URLs
- Exclude duplicate or parameterised URLs
- Automatically update sitemap when content changes
- Reference sitemap in robots.txt
Impact if not implemented
- Reduced page discovery
- Slower indexing
- Incomplete coverage
4.3 Crawl Traps & URL Inefficiencies
Crawl traps waste indexing resources and reduce coverage quality.
Common issues
- Internal search pages (
/search?q=) - Infinite pagination (
?page=,?sort=) - Session-based URLs
- Calendar/filter loops
Impact
- Wasted crawl capacity
- Duplicate indexing
- Reduced discovery of important pages
Recommended fixes
- Block patterns via robots.txt
- Use canonical tags
- Remove low-value URLs from sitemap
4.4 External Crawling Rules
SearchSG only crawls:
- Registered domains
- Approved subdomains
It does not crawl external websites except selected government infrastructure services.
4.5 JavaScript & Dynamic Content Rendering (CRITICAL FOR AEO)
SearchSG web crawlers uses headless rendering to process JavaScript-based pages. However, web crawlers does not fully simulate user interactions such as clicking, expanding sections, or scrolling through content.
Key principle
Important content must be present in the rendered HTML without requiring user interaction.
Common failure scenarios
Interaction-dependent dynamic content
Content hidden behind interactions may not be reliably indexed, including:
- Accordions
- Tabs
- “Read more” sections
- Expand/collapse components
Delayed client-side rendering
Content loaded only after the initial page render may be missed, such as:
- API-fetched content loaded after page load
- Framework-only rendering without SSR or pre-rendering
- Slow-loading asynchronous components
Lazy loading
Content that appears only after scrolling or viewport triggers may not be captured, including:
- Infinite scroll implementations
- Viewport-triggered loading
- Dynamically injected content below the fold
Impact
- Content may not be indexed
- AI systems may see incomplete pages
- Retrieval becomes inconsistent or partial
Recommended fixes
- Use server-side rendering (SSR) for critical content
- Pre-render key sections into HTML
- Avoid hiding essential content behind interactions
- Ensure important content exists in initial DOM
Recommended alternative: API Data Source
If website rendering limitations above cannot be resolved, consider using the API ingestion method instead:
SearchSG API ingestion methods.
Benefits:
- Bypasses web scraping limitations
- Works best for dynamic directory dataset (e.g. courses, facilities, events)
- Supports faster updates (hourly / real-time)
- Improves indexing reliability
5. Content Quality & AEO Readiness Best Practices
5.1 Duplicate or Ambiguous Titles
Common issue
Using identical titles across different page types.
Example:
- Medisave (Policy Information Page)
- Medisave (Media Releases / News)
Impact
- Lower retrieval precision
- Reduced AI disambiguation quality
Recommended fixes
- Medisave Scheme Overview | Eligibility & Usage
- Medisave Contribution Updates (2026 Policy Changes)
5.2 Vague or Non-Descriptive Titles
Avoid
- Overview
- Eligibility
- Payments
- Application Forms
Use instead
- Work Permit Eligibility Requirements (MOM Guidelines)
- CPF Housing Grant Payment Schedule
5.3 Missing Date Metadata
Without dates, AI systems cannot determine:
- Freshness of information
- Validity of policies or schemes
Required metadata
<meta name="datePublished" content="2026-01-01" /> <meta name="dateModified" content="2026-05-20" />Additional requirement
Visible “Last updated” in website footer (DSS policy requirement)
Last updated: 20 May 20265.4 Multiple Title Tags
Impact
- Conflicting signals to crawlers
- Reduced extraction quality
Recommended fix
Ensure exactly one <title> tag exists per page.
5.5 Ghost Pages
Ghost pages are pages that:
- Contain extremely limited content
- Or have important titles but little meaningful information - e.g. router page to redirect
Impact
- Poor search quality
- Weak AI grounding
Recommended fixes
- Expand content
- Consolidate duplicate pages
- Remove or de-index thin pages
5.6 Complex Nested Tables
Common issues
- Poor AI parsing
- Incorrect relationship extraction
- Reduced retrieval quality
Recommended fixes
- Flatten nested tables
- Use semantic HTML
- Avoid tables for layout
6. Structured Data for AI Grounding
Structured metadata improves retrieval accuracy and consistency.
SearchSG JSON-LD structure
Add this to each content page to provide custom content metadata for indexing.
<script type="application/ld+json">
{
"@context": "https://schema.gov.sg/",
"title": "Register your child's birth",
"description": "Apply for birth registration and related benefits.",
"type": "Service",
"categories": ["Family", "Benefits"],
"keywords": ["Birth registration", "Baby Bonus"]
}
</script>Why it matters
- Stabilises meaning across UI changes
- Improves AI summarisation quality
- Enhances entity recognition
7. SearchSG Content Health Checker
SearchSG Admin Portal provides a diagnostics tool for all the above crawl and content quality issues.
Detects
- robots.txt misconfigurations
- Missing sitemaps
- Crawl failures
- Duplicate titles
- Metadata inconsistencies
- Ghost pages
Benefits
- Early issue detection
- Prioritised remediation
- Continuous monitoring
Access
SearchSG Admin Portal → Index Library → Data Sources → Web Data Source → Health Checker
Reference:
Final Takeaway
Optimising for SearchSG and VICA requires fixing your website structure and content in the follow dimensions:
- Discovery → Can crawlers find your content?
- Understanding → Can systems interpret it correctly?
When these optimisations are implemented correctly, your content becomes high-quality grounding material for AI search and conversational systems, enabling accurate, trusted, and explainable responses.