Support Forums

Local hugo working, Netlify deploy not

Hi there,

Unfortunately I’m having a big issue for me that I’m not very skilled.

My site is this one: https://a26apartments.netlify.app/

While on my local hugo server it renders really well, the result when deploying on Netlify is not good at all.

Can you help me?


It’s because all your CSS, JS, etc., us loading over insecure HTTP protocol as opposed to the secure HTTPS one. It’s because you’ve setup absolute URLs to your assets that are prefixed with http instead of using relative URLs or prefixing them with https. It works locally because localhost also uses just HTTP. Loading HTTP content in HTTPS websites is blocked by browsers to keep users safe. Check the screenshot below:

1 Like

Thanks a lot man! Solved changing all :slight_smile: