HubSpot Ideas

MvanLaar_Phocus

Special character (e.g. umlaut) replacement in automatically created URLs

Some URLs in HubSpot cannot be edited manually, e.g. the URLs of blog tag pages. If you have to use special characters in a blog tag – e.g. German umlauts “ä”, “ö“ and “ü” or the German special character “ß” – the tag page URL looks messy because the special character has to be URL encoded.

 

Problem example:
The URL of the German tag name “Produktionslösungen” is “…/tag/produktionsl%C3%B6sungen”

Hacky workaround, which is necessary right now:

You can enter the tag name in the “clean” form, e.g. “Produktionsloesungen” – this leads to a “clean” URL (“…/tag/produktionsloesungen”). But to have the correct spelling on your pages, you need to use HubL syntax each time you want to output tag names (e.g. {{ tag.name|replace('oe', 'ö') }}.

It works for specific replacement problems. But it’s a hack, not a proper solution.

 

Expected solution:
HubSpot should use a replacement table for creating “clean” URLs like every other CMS does. This means that “ö” is replaced by “oe”, “ß” is replaced by “ss”, etc.
Replacement tables for all major languages with Latin characters are available, just look at any open-source CMS out there.

Solution example:
The automatically generated URL of the German tag name “Produktionslösungen” should be “…/tag/produktionsloesungen”

5 Replies
finn
Top Contributor

+1

 

Issue for us in a number of languages that use other characters than a-z (Portuguese, Spanish, French, German, Danish) in the tags. 

ThorstenB
Member

+1

svetelai
Member

I just wondering is there any change to edit tag url! Our page is for finnish language and ä and ö are typical letters to us.

CBN
Top Contributor

This is a very basic requirement that HubSpot again does not deliver one. A global business has people of names that do not fit into the US ASCII 128 charset. Any URL should be encode for this.


Our issue is with {{contact.firstname}} and similar replacements in form parameters. When you have a first name like e.g. 'Hans Henrik' then all links crash and gives a 404.

 

We need to have all chars encoded and/or replaced as suggested here.

Indra
Guide | Elite Partner

As @finn is saying, for us in a number of languages that use other characters than a-z (Portuguese, Spanish, French, German, Danish). Other than tags it's also for blogs, pages and landing pages inside the url that has to be replaced automatically.