encode/decode urls

Hi! Most of my urls looks like this for our premises:

https://croisette.com/premise/?name=Alfagatan%2020,%20Mölndal%20-%20358%20kvm,%20kontor

I dont want any % in my links, I want them clean, so it should look like this instead:

https://croisette.com/premise/?name=alfagatan20/molnda/20kvm/kontor

I think I’ve found the encode code, but don’t know where to put it. Have anyone tried this before?

If your talking about the urls stored in your hubspot database of contacts/companies then I think you should be able to do this more easily using the “Insycle Data Management” app add-on for Hubspot:

.

Hi! okey thanks I will ask them, have you tried it for urls yourself?

No, not really.

The %20 is added anytime you have a space in your URL, if you don’t want them, you would need to make sure that you don’t have spaces included when generating the URL.

You can see the full list of encoded characters here.

If you are generating your URL dynamically, you’ll need to configure the code to remove these special characters.