我有一个“http”(开发者)页面,它为facebook启用,从外面可以看到。当我想用https://developers.facebook.com/调试它时,它显示一切正常:
Response Code: 200
Fetched URL: http://my.dev.com/id/3161304
Canonical URL: http://my.dev.com/id/3161304/
Redirect Path:
Input URL -> http://my.dev.com/id/3161304
301 HTTP Redirect -> http://my.dev.com/id/3161304/
我已将此网站克隆,以进行测试,https-ed。结果不同:
首先,缺少一些参数:
Missing Properties
The following required properties are missing: og:url, og:type, og:title, og:image, og:description
其次,回应:
Response Code: 200
Fetched URL: https://my.cloned.site.com/id/3161304/
Canonical URL: https://my.cloned.site.com/id/
Redirect Path
Input URL: -> https://my.cloned.site.com/id/3161304/
rel="canonical" Meta Tag -> https://my.cloned.site.com/id/
似乎发生了重定向。为什么呢?