Canonical URL always HTTP

Hey folks!

I noticed that Ghost for some reason sets the canonical url to http on all my posts. I noticed that this issue had already come up on GitHub and I was wondering if someone could share with me how you override this.

Hi @svikashk,

Ghost generates the canonical URL from the one set in your config. Assuming you’re installed with Ghost CLI you can use ghost config url <url here> and ghost restart to change your config.

Alternatively, edit the config.production.json file and restart Ghost.

1 Like

Worked like a charm. Thanks a bunch, @Hannah. :slight_smile:

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