[SOLVED] Posts work locally, 404 when deployed after upgrade from 0.14

Hello,
I just upgraded my Hugo install from 0.14 to the latest version. When I ran hugo server and checked the site out locally, everything worked out just fine, so I deployed the site.

When I went to the actual site, all the links to posts result in a 404 error. I logged in via FTP and all of the content is there, but it isn’t showing up when I visit the website. Any ideas?

Quick update: it appears to be because Hugo was changing the URLs to lowercase, as discussed in this thread. I’ll have to read more to fully understand why the change was made, etc., but for now, adding disablePathToLower = true seems to have fixed it.

(And yes, I’m the guy whose car starts working as soon as I get to the mechanic)

2 Likes