ゆるふわキャンパー
  • Home
  • About Lorentzca
  • Blog Metrics
Sign in

canonical

A collection of 1 post
Setting the canonical link to ghost
ghost

Setting the canonical link to ghost

CloudFlare one-click SSLを使ってサイトをSSL化しているんだけど、 ページのソースを表示した時にcanonical linkがhttpのままであることを職場のパイセンに指摘されて( ゚д゚)ハッ!っとなったので直した!(割と前の話ですが…!) ghost/config.js内でproductionのurlをhttpsにしてghostを再起動すればOK こんな感じ config = { // ### Production // When running Ghost in the wild, use the production environment // Configure your URL and mail settings here production: { //url: 'http://ghost.ponpokopon.me', url: 'https://ghost.ponpokopon.me', ]... 簡単!
Feb 16, 2016
Page 1 of 1
ゆるふわキャンパー © 2025
Powered by Ghost