π Step 8: Deploy & Launch#476 / 498
robots.txt
robots.txt & sitemap.xml
πOne-line summary
Files that tell search engine crawlers which pages they may crawl and list all of a site's pages.
β¨Example
π
robots.txt
κ²μμμ§ ν¬λ‘€λ¬μκ² μμ§ν΄λ λλ νμ΄μ§μ μ¬μ΄νΈ μ 체 νμ΄μ§ λͺ©λ‘μ μλ €μ£Όλ νμΌ
β‘Vibe coding prompt examples
>_
Create robots.ts and sitemap.ts in the Next.js App Router, generating dynamic URLs from posts in the DB and blocking /admin from crawling.
>_
Walk me through submitting a sitemap to Google Search Console and Naver Search Advisor.
>_
Explain why pages blocked in robots.txt can still appear in search results, and how that differs from noindex.
Try these prompts in your AI coding assistant!