AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
seo(landing): fix GSC 404s, block /api/ in robots, noindex installer and video assets (#2425)
xerj-org8e61fc8c7295
diff --git a/functions/get.js b/functions/get.jsindex d15a4cd86..6e9526b7e 100644--- a/functions/get.js+++ b/functions/get.js@@ -58,6 +58,9 @@ const HEADERS = {'content-type': CT,'cache-control': 'no-store','x-content-type-options': 'nosniff',+ // The installer is a script, not a page: keep it out of search results+ // (GSC listed /get and /get.ps1 as crawled, not indexed). Fetching is unaffected.+ 'x-robots-tag': 'noindex',};// Bot/crawler UA substrings (lowercase). Kept deliberately short: thisdiff --git a/landing/_headers b/landing/_headersindex 733c69f9d..4fd325ac8 100644--- a/landing/_headers+++ b/landing/_headers@@ -61,17 +61,20 @@/getContent-Type: text/plain; charset=utf-8Cache-Control: public, max-age=300+ X-Robots-Tag: noindex# Windows installer: powershell -ExecutionPolicy Bypass -c "irm https://xerj.org/get.ps1 | iex"/get.ps1Content-Type: text/plain; charset=utf-8Cache-Control: public, max-age=300+ X-Robots-Tag: noindex# /get.sh alias (#740): text/plain so the Functions-off fallback rewrite to /get# serves the installer as plain text, never HTML./get.shContent-Type: text/plain; charset=utf-8Cache-Control: public, max-age=300+ X-Robots-Tag: noindex# Agent-readable Markdown twins are alternate representations of the HTML# articles, not HTML pages. Keep the charset explicit for direct fetches.@@ -86,3 +89,10 @@/compare/*.mdContent-Type: text/markdown; charset=utf-8X-Robots-Tag: noindex++# Demo videos are page assets, not search results of their own. Same reason+# as the installer scripts: fetchable, just not indexed as standalone URLs.+/xerj-biz-demo.mp4+ X-Robots-Tag: noindex+/aise-demo.mp4+ X-Robots-Tag: noindexdiff --git a/landing/_redirects b/landing/_redirectsindex 716df9392..b471841ca 100644--- a/landing/_redirects+++ b/landing/_redirects@@ -42,6 +42,34 @@# Trailing slash normalization/home / 301+# Google Search Console 404s (read 2026-10-25). Each source below is a URL+# Googlebot actually requested; each target is the page that answers it.+# Named sources only, never a pattern.+#+# Guessed agent-file paths. There is no static install.md or SKILL.md on this+# site: `xerj init` writes the skill files into the user's project, so an+# agent that guesses them is sent to the install page and the agent index.+/docs/install.md /docs/install 301+/SKILL.md /llms.txt 301+# No hosted MCP endpoint lives at /mcp. The MCP server is `xerj mcp`, a local+# stdio server documented in the CLI reference.+/mcp /docs/cli#mcp 301+# `landing/get` is a FILE (the installer script), so /get/ is not a directory.+# A relative `get` link resolved against /get produced /get/get. The old+# index-file spelling under /get/ (fixed via urlmap.HREF_FIXUPS) keeps its 404:+# seo_lint rule 64 forbids `.html` sources here.+/get/get /docs/install 301+# The recipes live under /docs/recipes/; a bare /recipes was linked from an+# older README translation.+/recipes /docs/recipes/ 301+# Punctuation glued onto a URL by a text extractor (a trailing `;` after+# llms.txt, a trailing backtick after /recipes or after llms.txt inside a+# Markdown code span). Each rule uses the spelling Pages matches, checked on a+# preview deploy: `;` stays literal, a backtick arrives as %60.+/llms.txt; /llms.txt 301+/llms.txt%60 /llms.txt 301+/recipes%60 /docs/recipes/ 301+# ── NO CATCH-ALL. Ever. ─────────────────────────────────────────────────────## There must never be a rule whose source matches every path — `/* ... 200`,diff --git a/landing/docs/corpus-hub.html b/landing/docs/corpus-hub.htmlindex a156dfc7d..94e1ddacc 100644--- a/landing/docs/corpus-hub.html+++ b/landing/docs/corpus-hub.html@@ -265,7 +265,7 @@ warning: approach-only licence (mixed: BSD-2 (lib) / GPL-2.0+ (rest)): read, docatalogue was served. Pack sizes, ages and process IDs on your machine will differ; the formatswill not.</p>- <p class="source-note">Source · engine/crates/xerj-hub/src/ (cli.rs, ask.rs, sync.rs, node.rs) · spec docs/CORPUS_HUB_V2_IMPLEMENTATION.md · browse: hub.xerj.org</p>+ <p class="source-note">Source · engine/crates/xerj-hub/src/ (cli.rs, ask.rs, sync.rs, node.rs) · spec docs/CORPUS_HUB_V2_IMPLEMENTATION.md · browse: hub.xerj.org · design write-up: <a href="/blog/corpus-hub-v2">Corpus Hub v2</a></p><h2 id="choose">Hub, local, or neither</h2><p>Pick the source before you search:</p>diff --git a/landing/llms-full.txt b/landing/llms-full.txtindex 6674154db..2ada39e0b 100644--- a/landing/llms-full.txt+++ b/landing/llms-full.txt@@ -19,8 +19,8 @@ Last updated: 2026-10-23 (canonical description, ES-YAML and MCP tool counts synThis document is the expanded, agent-oriented reference: a curated, hand-writtencapability and API contract, NOT a dump of the whole documentation corpus. The shortfront door — an index of every page on the site, with the caveats inline — is at-https://xerj.org/llms.txt; start there if you do not already know which section you-need. Every endpoint, command, and request shape below is grounded in the running+https://xerj.org/llms.txt+Start there if you do not already know which section you need. Every endpoint, command, and request shape below is grounded in the runningengine and CLI (xerj-api: es_compat.rs, native.rs, memory_api.rs, router.rs; the`autoindex` subcommand of the `xerj` binary). Where a capability is partial, stubbed,or compatibility-only, it is called out explicitly — do not infer capabilities thatdiff --git a/landing/robots.txt b/landing/robots.txtindex f5d10a895..cee0e6a59 100644--- a/landing/robots.txt+++ b/landing/robots.txt@@ -3,6 +3,8 @@User-agent: *Content-Signal: search=yes, ai-input=yes, ai-train=yesAllow: /+# /api/ holds POST-only Pages Functions (field reports); nothing there is a page.+Disallow: /api/# AI agents: start here — concise capability + API map# https://xerj.org/llms.txt (full reference: /llms-full.txt)