Casper theme - "latest posts" is referencing wrong url

Hello,

I am using the Casper theme and @site.url is appending port 80 to the url causing an error. An example is the “latest posts” from the footer. It is linking to https://shean.me:80/ which is not valid. I am having a hard time figuring out how to prevent this from occurring. I would like it to reference the url https://shean.me without specifying a port. Any advice is greatly appreciated.

Hey @SheanLV :wave:

Can you check the url in your ghost config (ghost config get url)? That’s what Ghost uses for the site url

Hi @vikaspotluri123

Thank you for the quick reply. I am using a bitnami managed install of ghost. The output of ghost config get url is http://shean.me:80

Any idea how to change this?

yep, just use set instead of get :wink:

ghost config set url http://shean.me

Then don’t forget to restart Ghost:

ghost restart

2 Likes

Thank you! That resolved it. Too easy!

1 Like