# INDEXING IS OPEN AS OF 2026-08-14, and the reason is worth keeping. # # WHAT BLOCKING ACTUALLY COST. `Disallow: /` does NOT remove a url from Google's index - it only # stops the crawler READING it. `youhsk.com` had a previous occupant (the older HSKZhen product), # so Google held an entry for this domain, could not re-fetch it to see it had changed, and kept # serving what it last knew. Searching "youhsk" on 2026-08-14 returned **the title "HSKZhen"**, # HSKZhen's flashcard description, HSKZhen's favicon and three sitelinks (HSK 6 / HSK 3 / HSK 5) # that answer 404 here. Every one of those was correct on OUR side and unreadable to Google: # the page serves `YouHSK · Từ điển Hán - Việt...`, its own description, its own favicon # and `<link rel="canonical" href="https://youhsk.com/">`. Blocking the crawler did not hide the # domain; it froze somebody else's brand on it. # # THE THREE STEPS THIS FILE USED TO LIST ARE ALL DONE. # 0. The domain is attached and serving THIS build - `/`, `/tu-dien/`, `/tu/<slug>/`, `/bo-thu/`, # the manifest and the favicon all answer 200; `www.youhsk.com` does not resolve, so the # address is written without it. # 2/3. `PUBLIC_ORIGIN` defaults to `https://youhsk.com` in `main.server.ts` and in # `gen-sitemap.mjs`, so an ordinary `npm run build:landing` ships ABSOLUTE canonicals and a # sitemap naming the real host - verified live: 11.009 urls, zero `*.web.app`. # # DO NOT DELETE THIS FILE to open indexing. An absent robots.txt is an implicit allow that nobody # decided on, and this note goes with it. `check-public-host.mjs` holds the dangerous ordering - # indexing allowed while the sitemap advertises a `*.web.app` host - and it now also checks the # DEFAULT origin, because the sitemap is build output and a clean checkout has none. # # AFTER DEPLOYING, verify against the apex rather than the Firebase host: # curl -s https://youhsk.com/robots.txt # curl -s https://youhsk.com/tu/ben-10/ | grep canonical # a word page # curl -s https://youhsk.com/ | grep canonical # a hub page - the gap that hid # # here once, when only word pages # # got the absolute form # Then, in Search Console, submit the sitemap and request re-indexing of `/`. Without that the # stale HSKZhen entry can sit for weeks: a crawler has no reason to hurry back to a domain it was # told to stay out of. User-agent: * Allow: / Sitemap: https://youhsk.com/sitemap.xml