Skip to content

fix(seo): /about/faq is a permanent redirect, links go to /faq (sysadmins-infra#654) - #564

Merged
Neophytis merged 1 commit into
feature/docker-masterfrom
neophytis/654-faq-permanent-redirect
Oct 9, 2026
Merged

Neophytis merged 1 commit into
feature/docker-masterfrom
neophytis/654-faq-permanent-redirect

Conversation

@Neophytis

Copy link
Copy Markdown
Contributor

Target branch: feature/docker-master. Part of BeWelcome/sysadmins-infra#654.

Why

After v3.8.2, Search Console URL Inspection reports https://bewelcome.org/faq as "Duplicate without user-selected canonical", with Google's canonical set to /about/faq.

  • /about/faq answered with a 302 (temporary) redirect to /faq (redirectToRoute default).
  • Every page linked to /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 /faq canonical tag added in #561. /about/faq is a main sitelink (about 177k impressions in 12 months), so the signals should agree.

Changes

  • FaqController::showAboutFAQ: 301 to faqs_overview (/faq). The route stays, for bookmarks and external links.
  • Links now use faqs_overview: footer.html.twig, landing/landing.html.twig, search/searchmap.html.twig, and AboutBaseController (About submenu). The about_faq array keys are submenu IDs and are unchanged.
  • build/groups/groupsbase.page.php: the groups menu linked about/faq/6, which is a 404. It now links faq/6 (200).

Tested on stage (sha-82e2332)

  • /about/faq gives 301 → /faq for GET and HEAD. Query strings are dropped.
  • No /about/faq links on /, /about, /faq or /search/map. The FAQ links point to /faq.
  • /faq canonical is /faq, and /faq/6 returns 200.
  • The image scan and the stage deploy smoke suite passed.

…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.
@Neophytis
Neophytis merged commit 5f5ff1b into feature/docker-master Oct 9, 2026
11 of 19 checks passed
@Neophytis
Neophytis deleted the neophytis/654-faq-permanent-redirect branch October 9, 2026 06:24
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