Suggest an editImprove this articleRefine the answer for “Where should the robots.txt file be located?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)The **robots.txt** file must be located in the site's root directory and accessible at `https://site.com/robots.txt`. **Key point:** search engines look for it specifically in the domain root, other locations are not taken into account.Shown above the full answer for quick recall.Answer (EN)ImageThe **robots.txt** file must be located in the site's root directory and accessible at: ```javascript https://site.com/robots.txt ``` Search engines look for it specifically in the domain root, other locations (for example, in folders or subdomains) are not taken into account.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.