# Yazoh - private preview # # The site is not finished and is not meant to be found yet, so nothing here # is offered to a crawler. Revisit this file at launch: it is the whole SEO # policy, and leaving it as it stands would keep the finished product out of # every search index. # # Why this file lives in frontend/public/ rather than in the backend: # the gateway routes only /api/ to CodeIgniter, and everything else to the # frontend container, whose `try_files $uri $uri/ /index.html` answered # /robots.txt with the React shell because no such file existed. Vite copies # public/ into dist/ verbatim, so this is a real file on disk and try_files # finds it before the SPA fallback. backend/public/robots.txt is CodeIgniter # scaffolding and has never been reachable over HTTP. # # A crawler that ignores this is stopped by the HTTP Basic Auth in front of # the site, not by this file. Robots exclusion is a request, not a control. User-agent: * Allow: / # Generated from the same registry the canonical URLs come from - see # SeoRoute::ROUTES and SitemapService. Absolute by specification: a crawler # may read this file from a mirror, so a relative path here would be # ambiguous. Sitemap: https://yazoh.io/sitemap.xml