Having Facebook likes accumulate over https:// and http://

落爺英雄遲暮 提交于 2019-12-10 13:33:02

问题


We're experiencing a problem where Facebook likes are counted individually for http://urlhere.com and https://urlhere.com.

Is there a way to have those counts combine, and just register for the url urlhere.com, regardless of prefix?


回答1:


Point an og:url meta tag on both URLs to one of them (i.e on both HTTP and HTTPS, point the og:url tag to the HTTP version)




回答2:


Facebook for god knows what reason treats these URL as different URLs. If you switch the whole site to https://, which is what people are doing now due to Google's recent announcement, you WILL lose all your like for http:// URL. Facebook will not follow 301 redirect and keep the likes from the http:// URL.



来源:https://stackoverflow.com/questions/10543089/having-facebook-likes-accumulate-over-https-and-http

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!