Domains & URLs

Manage domains for multilingual sites

Last updated: October 13, 2020

Applies to:

Marketing Hub  Professional, Enterprise
CMS Hub  Professional, Enterprise
Legacy Marketing Hub Basic
There are a few other options for setting up the URL structure of a translated blog or page. You can create complete translated versions of your content, or use smart content or JavaScript to dynamically update certain sections of your site. Consider which of the methods below is most manageable for your team. Keep in mind there are also SEO implication to managing content on different subdomains.

Create multi-language content (landing pages and website pages only)

For landing pages or website pages, you can create multi-language content to link the translated versions of your pages on the same subdomain. You'll set a primary language for your subdomain in the domain manager, and then HubSpot appends a language code subdirectory to the URL for each translation

Add subdirectories

You can also set up language code subdirectories for your blog or pages in the Settings tab of the content editor. In the screenshot below, the subdirectory "es" has been added for the Spanish version of the page.

subdirectory-settings-tab.pngFor HubSpot blogs, you can create language-specific blogs and specify a permanent subdirectory for that new blog:

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the sidebar menu, navigate to Website Blog.
  • Scroll down to the Blog root URL field. In the screenshot below, the blog's URL is set to have the subdomain "es", which means all posts will be created on URL paths relative to this listing domain.

You can set up as many subdirectories as you need on HubSpot, regardless of your account subscription level.

Multiple subdomains

With a Marketing Hub Enterprise account, you can use an unlimited number of subdomains for your brand domain. You can connect language-specific subdomains, as shown in the example below, and use them interchangeably depending on the language of each page. To host multiple language domains, you'll need to purchase each subdomain with a registrar and connect the subdomain to HubSpot. Once connected, you can publish content on the subdomain of your choice from the Settings tab in the editor.


Smart content by language 

Smart content can dynamically update areas of the page with your translated content based on the visitor's preferred language. 

Javascript translation

One final alternative is to host a single version of a page or blog post and use a Javascript solution, such as Localize, to translate the content on that page based on the visitor's preferred browser.