Using URL property has issues with the URL casing

Hi,

I just migrated my blog from Jekyll to Hugo last week. In order to make sure I preserve the correct URLs, in the migration I’ve set the url property for all my migrated posts. This page here (https://juristr.com/blog/2018/05/dynamic-UI-with-cdk-portals) doesn’t work however. This is the URL generated by Hugo on my blog archive (https://juristr.com/blog/archive/ => search for “Dynamic UI with”), but clicking on it it doesn’t work.

Turns out it is because the UI part in the URL needs to be lower case. Is there a way to fix this?

Source: https://github.com/juristr/juristr.github.com/blob/site/content/blog/2018-05-26-dynamic-UI-with-cdk-portals.md

Any idea what’s going wrong here or how to possibly fix this? Obviously external sites link to the URL with the uppercase “UI” word in the URL.

Perhaps disablePathToLower? https://gohugo.io/getting-started/configuration/

1 Like

That was it, thanks a lot!!