Skip to content

fix: discourage crawlers from following Discord invites - #307

Merged
hannesrudolph merged 1 commit into
mainfrom
fix/discord-invite-nofollow-20261107
Nov 7, 2026
Merged

hannesrudolph merged 1 commit into
mainfrom
fix/discord-invite-nofollow-20261107

Conversation

@hannesrudolph

Copy link
Copy Markdown
Member

What Problem This Solves

Official Discord invitation links should tell crawlers not to follow the invite redirect.

User Impact

Links keep their existing destinations, source tags, appearance and analytics behavior. nofollow is a crawler hint, not an access restriction.

Why This Change Was Made

Add nofollow to the docs shell and canonical article renderer, including localized and cached articles, while preserving existing rel tokens. Generated translations, code examples and unrelated links remain unchanged.

Evidence

  • 298 tests pass, including analytics regressions and extended built-HTML checks for all 22 locale shells, cached articles, existing rel tokens and third-party negatives.
  • Actual English and French page builds pass 39 official-invite and 169 unrelated-link assertions across eight pages.
  • Pinned local ClawSweeper review completed on this exact candidate.

Merge is held until the coordinated before/after measurement boundary is recorded.

@hannesrudolph
hannesrudolph requested a review from a team as a code owner November 7, 2026 17:38
@hannesrudolph
hannesrudolph merged commit 4e2a9ff into main Nov 7, 2026
4 checks passed
@hannesrudolph
hannesrudolph deleted the fix/discord-invite-nofollow-20261107 branch November 7, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant