在 http://blog.csdn.net/wzy_1988/article/details/8549290 这里看到大概有三种方法:
1. rewrite
2. 497 状态码 (似乎不太友好)
3. 进入页面后跳转 (似乎这样相当于加载了两次)
想知道 V2EX 是怎样做的?
另:
页面中还有 <link rel="canonical" href="http://v2ex.xtra.eu.org/" /> 这个需要改成 https 吗? 我的 Ghost 也是这样, 强制了 https, 但 canonical 还是 http. 有必要改吗?
1. rewrite
2. 497 状态码 (似乎不太友好)
3. 进入页面后跳转 (似乎这样相当于加载了两次)
想知道 V2EX 是怎样做的?
另:
页面中还有 <link rel="canonical" href="http://v2ex.xtra.eu.org/" /> 这个需要改成 https 吗? 我的 Ghost 也是这样, 强制了 https, 但 canonical 还是 http. 有必要改吗?