I’m using the “content.absolute_url” to render the current page URL on a multilingual Hubspot site.
I’ve noticed that on one of the language sites, the domain rendered by the “content.absolute_url” filter always seems to output the primary domain URL. Is there any reason or workaround for this?
As system pages (404, 500 etc.) do not have a default URL available, this is hard to achieve.
If you are talking about regular website pages, landingpages or blogs and content.absolute_url is not working (which would be really odd), you could try something like this to get the current URL of a multilanguage page:
No problem.
Sadly, no, there is no solution untill they add multilanguage functionality to HubSpot system pages.
Here is an overview of everything the {{content}} dictionary has on a 404 page. As you can see, the slug is nowhere available.