COS-General

How do I manage domains for multilingual sites on HubSpot?

Last updated: February 12, 2018

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

When creating websites in multiple languages, there are several options for setting up the URL structure of your site hosted on HubSpot. As you choose how you want to structure a multilingual site, take into consideration which method is most manageable for your team, as well as the SEO implications

Subdirectories

One approach to hosting multilingual content is to create your translated pages with language code subdirectories. You can manage the URL of a page from the Settings tab of within the page 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 a specific blog:

  • In your HubSpot Marketing BasicProfessional, or Enterprise account, navigate to Content > Content Settings.
  • In the left sidebar menu, navigate to Marketing 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.

Domains

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

change-domain-settings-tab.png

Smart content by language and Javascript translation

The previous two methods allow you to create distinct pages for each language and have your team write the in-language content or use an integration to translate it. You may choose to use a single page instead, while relying on smart content or Javascript to handle the translation.

Smart content can be used dynamically to swap out areas of the page for alternate versions, based on the visitor's preferred language. To learn more about smart content based on language, check out this article.

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

Was this article helpful?