Manage domains for multilingual sites
Last updated: January 15, 2021
- Create multi-language content
- Add subdirectories for each translated language
- Manage multiple domains (Marketing Hub and CMS Professional and Enterprise only)
- Smart content by language
- Javascript translation
Create multi-language content
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. You can also create knowledge base articles in multiple languages.
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.
For 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 domains
With a Marketing Hub Enterprise account, you can use an unlimited number of top level domains for your brand domain. You can connect language-specific top level domains, as shown in the example below, and use them interchangeably depending on the language of each page. To host multiple language top level domains, you'll need to purchase each domain with a registrar and connect the domain to HubSpot. Once connected, you can publish content on the domain 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.
Related content
-
SSL and domain security in HubSpot
When you connect a domain to your account, HubSpot automatically provisions a standard SAN SSL certificate...
Knowledge Base -
Redirect a page or blog post
With the URL redirects tool, you can redirect traffic from a HubSpot-hosted page or blog post to any URL. You...
Knowledge Base -
Use brand domains with your HubSpot tools
The brand domain is the part of a domain between the subdomain and the top-level domain. For example, in the...
Knowledge Base