简体   繁体   中英

Ghost CMS navigation goes to non-custom domain

I have a Ghost site at https://msclouddeveloper.com However, the navigation links point to an azurewebsites.net address. But in the Ghost CMS the correct custom domain is shown (msclouddeveloper.com). The websiteUrl appsetting is also set correctly. What could be wrong? I've already restarted the app service.

Don't know if I missed this when reading the setup guide for custom domains, but you need to add two AppSettings:

websiteUrl    http://www.msclouddeveloper.com
websiteUrlSSL https://www.msclouddeveloper.com

Then restart the App service. What could also be an issue is the environment setup you have enabled. See this documentation for more info https://docs.ghost.org/docs/config For custom domain SSL links to work you need to have the production environment enabled. You set this in the file iis-node.yaml I believe. But it was already correct in my case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM