The footer of our website template has links to several of our top level pages. When hovering over them there is now an additional ?hsLang=en to the end of the domain. I know what this represents. I have 2 concerns. First, I do not know when this happened or how it happened. Second, the link to our blog page shows ?hsLang=en in the domain url, where as, the other links are properly directed to only show the domain url like they are supposed.
I do not know how to make these changes in the templates. I have been instructed to not make changes to the templates. I would like to present this to the person that can make the changes with a proper explanation.
Any help is appreciated. Let me know if my explanattion does not make sense.
The text at the end of the links is related to your "enable language specific redirects" setting which can be found under settings>domains and urls>language settings.
To remove the ?hsLang=en you will have to turn off the "Enable Language Specific Redirects"
The text at the end of the links is related to your "enable language specific redirects" setting which can be found under settings>domains and urls>language settings.
To remove the ?hsLang=en you will have to turn off the "Enable Language Specific Redirects"
Turning the feature off would remove the ability to have multiple versions of one page in different languages. The functionalities outlined here would be those impacted.
I don't understand the purpose of ?hslang=en being added to our URLs. We've been managing a multi-language site for several years now, and most of our pages are part of multi-language groups, as HS intended. But if each page is set to include its own language code in URL (e.g. /fr/, /es/, etc.) then why the need for an hslang URL parameter?
Up until recently, it was merely an annoyance and somewhat confusing that our links and URLs were changing to include ?hslang, but the links always worked as intended, and our own language picker would always switch to the proper language version of our site.
However, we recently created a new multi-language group of pages, and added links at the top of each page to the other languages. And for the first time, it didn't work. Even though the href attribute was "https://www.domain.com/fr/pagename", every time we clicked on it, it would add ?hslang=en and always go to the English page instead of the French page. We couldn't figure it out, and in the end, at the suggestion of HS Support, we went into our Domain & URLs > Language Settings and unchecked "Enable Language Specific Redirects" which fixed the problem. But are we now losing out on other benefits?
Hello, did you solve this issue mayby? We have similar problem with one subpage- main menu on this page works correctly, but submenu and other links add ?hsLang to URL 😕