Score:-1

Disallow: /?q=search/ in robot.txt

cn flag

Does /?q=search/ means I can't web scrape the search websites that ends with =search/ ? Can I scrape an URL ends with =0#search ?

Michael Hampton avatar
cz flag
There is not enough information to answer this question. Please provide the actual path you are concerned about and the actual robots.txt entry.
Score:1
np flag

First of all it's robots.txt. Next, supplying something in there doesn't magically means that you "can't web scrape the search". It's just a directive for the robots to follow. But it won't stop them to fetching those URLs if they want to (i.e. some malicious web fetchers & scripts might just ignore your robots.txt or even use information from it to fetch info you wanted to protect).

And answering your question, you can't specify an anchor with robots.txt. This has been answered here: https://stackoverflow.com/questions/53676849/robots-txt-handling-a-in-a-url

Besides specifying a directive Disallow in robots.txt doesn't includes location. It's just a substring match anywhere in the URL.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.