this post was submitted on 04 Jul 2023
210 points (97.7% liked)
Technology
60135 readers
3275 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What's robots.txt
Here's an example https://www.google.com/robots.txt
Basically it's a file people put in their root directory of their domain to tell automated web crawlers what sections of the website and what kind of web crawlers are allowed to access their resources.
It isn't a legally binding thing, more of a courtesy. Some sites may block traffic if they're detecting the prohibited actions, so it gives your crawlers an idea of what's okay in order to not get blocked.
Got it. Thanks.
It’s a plain text file that is hosted on your site that should be visible to the internet. Basically allows/disallows scraping from search engines in your site.