From fe2f441a335eb37e5166e9d80a452657b1782421 Mon Sep 17 00:00:00 2001 From: Nikita Date: Tue, 25 Aug 2026 16:44:25 +0200 Subject: [PATCH] docs(redirect): carry the URL fragment across the retire redirects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A reader following a deep link like /extend/generic-extractor/configuration/api/pagination/#offset landed at the top of the help page — location.replace() used the bare target, and the meta-refresh fallback cannot forward fragments at all (browsers drop them). Append location.hash to the target unless the stub's redirect_to already pins its own anchor. Applies to every existing stub (#405/#406) and all upcoming retirements (#412/#413/#414) — the layout is shared. Co-Authored-By: Claude Fable 5 --- _layouts/redirect.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/_layouts/redirect.html b/_layouts/redirect.html index 04a8e521..228f056a 100644 --- a/_layouts/redirect.html +++ b/_layouts/redirect.html @@ -23,7 +23,19 @@ {% if moved_to_help %}Moved to the Keboola help docs{% else %}Redirecting…{% endif %} | Keboola Developers Knowledge Base - + {%- comment -%} + Carry the URL fragment across the redirect: a reader following a deep link + like /extend/generic-extractor/configuration/#retry should land on that + section of the help page, not at its top. The meta refresh below is the + no-JS fallback and cannot forward the fragment (browsers drop it). + {%- endcomment -%} +