Forum Moderators: goodroi
I always hearYou are listening to the wrong people.
User-Agent: *
Disallow: /and you were hoping from search-engine referrals. But I suspect that isn't what your sources meant. I never asked about AdsenseWell, you’re not OP. If you've got general questions about robots.txt, those are most appriately asked in the robots.txt subforum [webmasterworld.com].
User-Agent: *
Disallow: /For that specific site, it is a good robots.txt because it keeps law-abiding robots--notably search engines--from making further requests. (The only thing better than a blocked request is a request that isn't made in the first place.) Non-law-abiding robots are excluded by other means. im scared to tamper with the robots.txtWhat does it currently say? Does it even exist? Does WP create a robots.txt by default? This strikes me as a pretty pointless venture, since the disallowed directories aren't normally linked from anywhere--meaning that robots wouldn't even know about them unless you draw their attention--and malign robots certainly don't pay attention to robots.txt. You might think they'd at least use it to learn the exact names of disallowed directories ... but judging by the requests I receive every day on non-WP sites, robots seem to find it easier just to barge in and ask for everything regardless.
What Makes a Good robots.txt File?
He's asking what time it is and you're all explaining how to build a clock.Well, if he wants a prefab, one-size-fits-all robots.txt (Broaster? still with us?) he'll need to stroll over to That Other Forum ... where, instead of receiving the “We don’t write your code for you” lecture, he’ll receive the equally exasperating “This question has already been asked and answered” lecture.
User-agent:SemrushBot
User-agent:Wotbox
User-agent:Baiduspider
User-Agent:Crawler
Disallow: /
User-agent: *
Crawl-delay: 2
Disallow: /data/
Sitemap: https://example.com/sitemap.xml