How to Remove ?hsLang=en from URL in HubSpot

  • read
How to Remove ?hsLang=en from URL in HubSpot

Are you seeing ?hsLang=en in your urls or analytics reports and want them removed? There is a setting in the HubSpot admin that enables this feature. Before making a change, consider if you have an existing page translation strategy. If you prefer to have a subdirectory like yourdomain.com/en/your-page or do you prefer having one URL with the language added at thend as a query parameter ?hsLang=en

If indeed you prefer the subdirectory, below is how to change it.

  1. Login to HubSpot
  2. Go to  Settings > Website > Domains & URLs > Language Settings
  3. Uncheck the checkbox for Enable Language Specific Redirects if checked

Written by: Jacob Lett, a website designer & developer who creates HubSpot CMS themes and writes web design & marketing books to help marketers, designers, and web developers grow their businesses. This blog is my own personal journal and source to help others through some challenges I have faced.
Connect on LinkedIn


Category: Common Questions
Tags: , ,