Skip to content

BUG: SEO/UX - Don't redirect 404s. #306

@smagdali

Description

@smagdali

Currently the site redirects all 404s

https://frameworks.securityalliance.dev/intro/introductiongkjbndg

to

https://frameworks.securityalliance.dev/intro/introduction/

Correct behaviour: serve a 404 page on the broken URL, with no redirect.

Rationale:
404s provide useful information to users and indexers! When you redirect, it's jarring for the users, especially if they followed a link (where did my expected content go?) , makes it hard to detect and fix broken backlinks.

And it makes it more difficult for search engines to correctly index. 404s are a valuable signal, use them well, and put a kitten on the page instead.

You should also be running a 404 checking script. It can help to identify when others are incorrectly linking to you (which you can sometimes fix with a 301), as well as broken internal links.

More: https://support.google.com/webmasters/community-guide/263957590/the-4-types-of-404-should-i-redirect-a-url-that-returns-404?hl=en

Metadata

Metadata

Assignees

No one assigned

    Labels

    local setupImprovements or additions to the local setup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions