hs_path with added hsLang

Hello everyone,
I have an unpleasant problem related to dynamic pages that contain information taken from a HubDB table. Unfortunately from a listing page and clicking on the product to see the dynamic product page, hsLang=en is added to the url at the end which, for SEO issues is a problem because it differs from the clean canonical url
Here is an example of a url

Has anyone had the same problem and been able to solve it? Thank you
Giovanni

Hey @giozua,

you can disable this in Settings → Content → Domains & URLs → Language settings

But be careful. This can cause a lot of problems with existing pages.
Another trick you can try is adding the cut-filter to the dynamic template where you define the URL.

Like

{{ dynamic_pages.dynamic-slug|cut('?hsLang=en') }}

best,

Anton

Hi,
in the settings the prefix in slug is not in use and unfortunately the other solution does not work by completely ignoring the cut