Tag: seo

  • Soft 404s: When Your Error Page Lies About Being Fine

    Soft 404s: When Your Error Page Lies About Being Fine

    Imagine asking someone where the bathroom is, and they say “Yes, absolutely, great question!” and walk away. That’s a soft 404.

    What it is

    When someone visits a page that doesn’t exist, the server should answer with the status code 404 Not Found. A soft 404 happens when the page shows a “not found” message to the visitor, but the server actually answers with 200 OK, which means “here’s your page, everything’s fine”.

    Why it happens

    • Themes or page builders that show a nice custom error page but forget to set the status code
    • Empty category or search pages that technically exist but show nothing
    • Removed products that redirect to the homepage instead of returning a proper error
    • Single-page apps that handle all routing in the browser

    Why it matters

    • Search engines may keep thin or empty pages in their index, or treat real pages with suspicion.
    • Monitoring that only checks status codes will happily report a missing page as healthy.
    • Analytics show visits to “pages” that are really errors.

    How to check

    Open your browser’s developer tools, go to the Network tab, visit a URL you know doesn’t exist (like /this-page-does-not-exist/) and look at the status code of the first request. If it says 200, you’ve found a soft 404.

  • A Love Letter to the Staging Site That Google Indexed

    A Love Letter to the Staging Site That Google Indexed

    Dear staging2.ourcompany-dev.com,

    You were never meant to be famous. You were a quiet place to test things. A sandbox. A safe space where “Lorem ipsum dolor sit amet” could live in peace next to a product priced at €0.01.

    And then Google found you.

    How it happened

    Somebody unticked “Discourage search engines from indexing this site” while testing something. Just for a minute. Then went to lunch. You know the rest.

    Within two weeks, searching for our company name showed two results: our real website, and you. And you, staging site, had a better title tag, because a developer had been testing SEO plugins on you and had written something genuinely good.

    Things people found on the staging site

    • A product called “TEST PRODUCT DO NOT BUY” that someone, somewhere, tried to buy
    • The full new pricing page, three weeks before launch
    • A blog post titled “asdfgh” that was, against all odds, getting traffic

    What we should have done

    Staging sites should be protected by a password (HTTP authentication), not just a checkbox. A checkbox is a polite request. A password is a door. And it helps to check, regularly, that your production site isn’t accidentally set to noindex either, because that mistake also happens, usually right after a launch, usually when everyone is celebrating.