Deploy website using SFTP

Hi all,

I’m trying to deploy my website to www.marijevandalen.com. I have used SFTP and copied the public folder. However, as you can see the lay-out isn’t as in the locally deployed website.
I have used R to make the website. The guide says to run the ‘hugo command’ before I copy the public folder. I’m guessing that’s where the problem is. What is meant by the hugo command?

My best guess is that this is a baseURL issue.

Make sure that you have baseURL = "http://www.marijevandalen.com/" in your config.toml (or set it as an argument to hugo).

That solved it, thank you!
I had typed marijevandalen.com/ as baseURL, without the https. Didn’t think it would matter, but it did.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.