Fix spider trap: disable SPA mode, remove index files, relax wiki-links #290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/disable-spa-relax-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the Facebook crawler spider trap that's been generating infinite recursive URLs like
/how-to/tutorials/tutorials/how-to/explanation/...for several days.Root cause: Quartz SPA mode + nginx
try_filesfallback toindex.htmlmeant any fabricated URL returned the root HTML shell with HTTP 200. Crawlers followed relative links from those fake URLs, creating infinite recursion.Fix:
enableSPA: false) — all pages are now fully static HTML=404+ Quartz's static404.htmlrobots.txtexclusions (no longer needed)Docs cleanup (Obsidian.nvim compat no longer needed):
tutorials.md,reference.md,how-to.md,explanation.md) — Quartz auto-generates folder pagespostgresql-storage.md(redirect stub) andmigrate-forgejo-from-brew.md(stale history)docs-check-indexanddocs-check-filenamesprek hooksdocs-check-linksto allow path-based wiki-links ([[path/to/file]]) and only error on true ambiguityai-docsdoc tree listing to replace index files for AI contextDeployment and Testing