• CameronDev@programming.dev
    link
    fedilink
    arrow-up
    18
    ·
    2 days ago

    Search engines work by building an index over all the sites on the internet. The index and the status of the sites aren’t linked, the search engine basically has a cached view of the site.

    If the site goes down after it is indexed, DDG won’t know about it until the next index.

  • Zak
    link
    fedilink
    arrow-up
    8
    ·
    2 days ago
    1. Stale index: the link and summary DDG has stored no longer matches the site’s content because the site changed it. The index will get updated eventually. This is the most likely explanation.
    2. Selective content: the site dynamically chose to serve you different content than it serves to DDG’s crawler or other visitors. It might, for example think that you’re a bot and want you to go away.
  • remon@ani.social
    link
    fedilink
    arrow-up
    7
    ·
    2 days ago

    If even you know where someone lives, sometimes they won’t be home when you’re trying to visit.

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    404 means that a web sever doesn’t have something at the URL you requested.

    Search engines build an index periodically by looking at what’s on a website. That’s what provides your search results. They aren’t informed if a web server removes or moves content, though eventually, they’ll have a bot that checks, notices the change, and updates the index.

    They — well, Google, and I assume most — will update major sites more frequently, so this is probably more common if you’re pulling something off a small, backwater website.

    • Cousin Mose@lemmy.hogru.ch
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      At first I thought “how is this relevant?” but increasingly yeah, us web developers to use HTTP 404 rather than HTTP 403 increasingly as it can be more secure to pretend something doesn’t exist than to explicitly say “you don’t have access to this right that exists.”

      I’ve never especially loved the practice but I’ve done it at work for really sensitive endpoints.