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.
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.
For HubSpot blogs, you can create language-specific blogs and specify a permanent subdirectory for a specific blog:
- In your HubSpot account, click the settings icon settings in the main navigation bar.
- In the 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.
With a Marketing Hub 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.
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.