• midribbon_action@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    7
    ·
    6 days ago

    Yeah, I’ve been curious if you could explicitly block a page in robots.txt, hide an invisible link to the same page in your footer, then kinda have it act like an immediate IP block when someone requests it.

    • mic_check_one_two@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 days ago

      There are systems that will use a hidden hyperlink (which only a bot would see and use) which directs them to an infinitely long/wide junk link tree. It means they end up trapped in bot-purgatory and stop crawling the rest of your site.

      The issue is that it means you end up consuming resources just to keep the bot trapped.

    • CapriciousDay@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 days ago

      I guess it depends too much on the nature of the crawler. Does it actually extract links from robots.txt or is it merely ignoring them? If the crawlers are distributed, do page hits come from the same IP that the robots.txt was hit from?

      It gets harder and harder to get away from CDNs and captchas, which are not exactly good things from an open source POV for the most part.