From 1651aff9fce604393e38accc91bef1c25eb8e829 Mon Sep 17 00:00:00 2001 From: Matthias Schoettle Date: Sat, 18 Jan 2025 16:50:57 -0500 Subject: [PATCH] Document how to avoid backlinks for references --- .../autolinked-references-and-urls.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md b/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md index 3f9c414092e8..f4e3b4870cff 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md @@ -73,6 +73,11 @@ When referencing a commit from a private repository inside of a commit message, {% data reusables.repositories.autolink-references %} +## Avoiding backlinks to linked references + +References to issues, pull requests, etc. cause the referenced item to have a backlink to the referencing item. +To avoid this, you can use the URL `redirect.github.com` instead of `github.com` in your reference. + ## Further reading * [AUTOTITLE](/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)