How to remove escaped characters from dynamic url title?

I have a dynamic collection item with the title “Foo: Bar”, this gets turned into the url “Foo%3A-Bar”, but I want the url to be “Foo-Bar”, I want to REMOVE the “:” instead of escaping/encoding it into “%3A”.

Is this possible with Wix or Velo?

I have not tried this myself but it could work with some regex likely.

Something like what this user did here to remove the spaces that auto-turn into hyphens

Thanks for the response. I think I need this to happen on Wix/Velo’s end? Because the url is auto generated. I’m referring to dynamic collection item urls which I don’t think I can edit or update? I’ve attached a screenshot.

The ideal situation would be to have a text box that lets us enter characters that would be removed from dynamic urls instead of encoded.

The URL is generated according to the primary field in the content manager.

Create a new column called URL Creation or something like that, set it as the primary field and then write it how you want it to appear in the URL such as ‘Foo Bar’ and you should be good

Hello! Here’s what I learned that may help you…

The dynamic page urls are encoded (which you can see) through encodeURIComponent() so what has worked for others is to use decodeURIComponent()

@noahlovell Yes, this is another suggestion that should work well.