# ===================================================== # Robots.txt for OldGames.Games # Free Retro Gaming Platform - Play Old Games Online # Last Updated: 2026-08-28 # ===================================================== # ========== GOOGLE ADSENSE CRAWLER - Public Content Access ========== User-agent: Mediapartners-Google Allow: / Disallow: /emulator.html Disallow: /emulator-arcade.html Disallow: /neogeo-*.html Disallow: /mobile.html Disallow: /debug-*.html Disallow: /oldgames.html Disallow: /admin Disallow: /pages/admin/ Disallow: /pages/store/ User-agent: AdsBot-Google Allow: / Disallow: /emulator.html Disallow: /emulator-arcade.html Disallow: /neogeo-*.html Disallow: /mobile.html Disallow: /debug-*.html Disallow: /oldgames.html Disallow: /admin Disallow: /pages/admin/ Disallow: /pages/store/ User-agent: AdsBot-Google-Mobile Allow: / Disallow: /emulator.html Disallow: /emulator-arcade.html Disallow: /neogeo-*.html Disallow: /mobile.html Disallow: /debug-*.html Disallow: /oldgames.html Disallow: /admin Disallow: /pages/admin/ Disallow: /pages/store/ # AI search/discovery crawlers intentionally inherit the default group below. # This keeps public content available while applying the same exclusions for # admin, technical, private and binary files to every crawler. # Bytespider (TikTok/ByteDance) stays blocked — known for aggressive # crawling with little Western search-discovery value. Flip to Allow # if you want TikTok-sphere reach. User-agent: Bytespider Disallow: / # ========== DEFAULT - All other crawlers ========== User-agent: * # Allow everything by default Allow: / # ========== ALLOW - Important for Google/AdSense ========== Allow: /assets/css/ Allow: /assets/js/ Allow: /assets/images/ Allow: /games/ Allow: /online/ Allow: /pages/console/ Allow: /pages/guides.html Allow: /pages/legal/about.html Allow: /pages/legal/contact.html Allow: /pages/legal/dmca.html Allow: /pages/legal/editorial-policy.html Allow: /pages/legal/privacy-policy.html Allow: /pages/legal/terms-of-service.html # ========== BLOCK - Non-functional/Debug Pages ========== # Keep player pages crawlable so Google can read their noindex/canonical tags. Disallow: /streaming.html Disallow: /live-streams.html Disallow: /watch-stream.html Disallow: /google-site-verification.html Disallow: /debug-mobile.html Disallow: /debug-*.html Disallow: /emulator-clean.html Disallow: /emulator-minimal.html Disallow: /test-*.html Disallow: /oldgames.html Disallow: /mobile.html Disallow: /cosmic-arcade-galaxy.html # Note: duplicate root game pages (e.g. /pokemon-red.html) are already # handled via 301 redirects in _redirects to /games/pokemon-red.html. # Disallowing them would prevent Google from following the 301, so we # leave them crawlable and let the 301 carry the canonical signal. # ========== BLOCK - Admin/Internal Pages ========== Disallow: /admin Disallow: /pages/admin/ Disallow: /pages/store/ # ========== BLOCK - Technical Directories ========== Disallow: /config/ Disallow: /scripts/ # ...but /scripts/utils/ ships runtime JS that 1,100+ game pages actually load # (live-chat.js). Google needs to fetch page resources to render and index the # page it is judging, so this Allow must stay ahead of the /scripts/ block. Allow: /scripts/utils/ Disallow: /functions/ Disallow: /api/ Disallow: /bios/ Disallow: /bios%20neo%20geo/ Disallow: /bios%20ps1/ Disallow: /neogeo/ Disallow: /chateffects/ Disallow: /stream-server/ Disallow: /multiplayer-p2p/ Disallow: /retrowave%20emulator/ Disallow: /emularity/ Disallow: /__MACOSX/ # ========== BLOCK - Media Assets (large files) ========== # NOTA: /covers/ e /consoles-covers/ permanecem acessíveis ao Googlebot-Image # (capas de jogos trazem MUITO tráfego via Google Imagens). # Allow explícito abaixo para garantir indexação: Allow: /covers/ Allow: /consoles-covers/ Allow: /assets/images/ Disallow: /banner-frames/ Disallow: /banner-samurai-frames/ Disallow: /logo/ Disallow: /videosjogos/ # ========== BLOCK - ROM Files ========== Disallow: /*.zip$ Disallow: /*.rar$ Disallow: /*.7z$ # ========== BLOCK - Config Files ========== Disallow: /serviceAccountKey.json Disallow: /database.rules.json Disallow: /firebase.json Disallow: /firestore.rules Disallow: /storage.rules Disallow: /wrangler.toml Disallow: /cors.json # ========== BLOCK - Dev Files ========== Disallow: /*.bat$ Disallow: /*.ps1$ Disallow: /*.log$ Disallow: /*.backup.* Disallow: /mobile.html # ========== SITEMAPS ========== # Submit and advertise only the sitemap index. It already contains every child # sitemap, so listing children here would be redundant and easier to desync. Sitemap: https://oldgames.games/sitemap.xml