HUGO

Url with multiple dash characters

Hi All,

I am currently porting my current Blog that runs with version 0.38 to a new one, running with version 0.66

As I have lots of comments (using Disqus) but also, because my pages are very well referenced on Google, I need to make sure the URLs remain the same.

Unfortunately, with version 0.38, some URLs contain multiple consecutive “-” characters: such as /2019/07/week–2--info

When I am using version 0.66 (not yet deployed, fortunately), my URLs only contain 1 “-”, giving: /2019/07/week-2-info

Even when I try to force the url (using url: …), I am still having only 1 “-” character.

Would anyone have a solution to this?

Many thanks in advance, for your help.