Repository navigation
fix(seo): /about/faq is a permanent redirect, links go to /faq (sysadmins-infra#654) - #564
Merged
Neophytis merged 1 commit intoOct 9, 2026
Conversation
…come/sysadmins-infra#654) /about/faq answered with a 302 to /faq and every page linked to /about/faq (footer, landing, search map, About submenu), so Google kept /about/faq as canonical and reported /faq as a duplicate, against the sitemap and canonical tag. The redirect is now a 301 and the links use faqs_overview. Also fixes the groups menu link about/faq/6 (404) to faq/6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Target branch:
feature/docker-master. Part of BeWelcome/sysadmins-infra#654.Why
After v3.8.2, Search Console URL Inspection reports
https://bewelcome.org/faqas "Duplicate without user-selected canonical", with Google's canonical set to/about/faq./about/faqanswered with a 302 (temporary) redirect to/faq(redirectToRoutedefault)./about/faq: the footer, the landing page, the search map and the About submenu.With a temporary redirect and all internal links on the old URL, Google keeps the old URL. That goes against the sitemap and the
/faqcanonical tag added in #561./about/faqis a main sitelink (about 177k impressions in 12 months), so the signals should agree.Changes
FaqController::showAboutFAQ: 301 tofaqs_overview(/faq). The route stays, for bookmarks and external links.faqs_overview:footer.html.twig,landing/landing.html.twig,search/searchmap.html.twig, andAboutBaseController(About submenu). Theabout_faqarray keys are submenu IDs and are unchanged.build/groups/groupsbase.page.php: the groups menu linkedabout/faq/6, which is a 404. It now linksfaq/6(200).Tested on stage (
sha-82e2332)/about/faqgives 301 →/faqfor GET and HEAD. Query strings are dropped./about/faqlinks on/,/about,/faqor/search/map. The FAQ links point to/faq./faqcanonical is/faq, and/faq/6returns 200.