Sunday, February 18, 2024
1 change · master
Resolved issues and error corrections
The website language switcher now points visitors and search engines to the correct translated page URLs instead of sending them through unnecessary redirects. This improves crawler efficiency, reduces Google Search Console errors, and keeps portal and website language behavior more consistent.
Original PR description
The language switcher link on the page /fr/forum/aide-1 should point to /forum/help-1 instead of /forum/aide-1. That fixes error in Google Search Console, and avoid unnecessary redirects to speed up crawlers. Code cleanup: use a single mechanism for both alternate hreflang, and language switcher. (instead of injecting two different objects in the QWeb evaluation) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr