Switching from HTTP to HTTPS, lost all Facebook “Likes” count

Alex You picture Alex You · Dec 3, 2014 · Viewed 21.5k times · Source

I switch from http to https two months ago, and now lost all my 'Likes'.

Even when I use facebook debug tool it now has the same count between the http:// and https://

Anyone knows whether it is a facebook bug? or is there a workaround solution to retrieve my old 'Like' count?

Answer

Amol picture Amol · Dec 3, 2014

Typically Facebook likes are linked to a URL. Even a single character change will lose Facebook likes.

Here is a link on Facebook

https://developers.facebook.com/docs/plugins/faqs#moving-urls

Go to the bottom of the page and find this section How do I move a page to a different URL? - can I migrate the number of likes to the new page location?

<meta property="og:url" content="https://example.com/old-url" />

You will need to instruct the facebook crawler to re-scrape your url for the changes to take effect:

https://developers.facebook.com/tools/debug/sharing

That should be a solution to your problem.