If you’ve lost your Facebook shares because you move your site to HTTPS/SSL, this article is just for you

Websites with a lot of Facebook likes are bound to lose some likes when they move their site to https. That is because Facebook sees your https URL as a completely different URL. You can’t move the likes, shares or comments directly to the new URL but you can use the old URL as the canonical source for the number of likes or shares at the new URL.

How Facebook see your page?

When resolving which URL a like or share action should be attributed to, Facebook uses a process to resolve the canonical URL for URL that’s been loaded. When a URL is loaded, the crawler will look for:

  1. A HTTP 301 or 302 Redirect
  2. The use of an og:url open graph tag in the page
  3. The use of rel=canonical as described in RFC 6596. (Facebook’s crawler only supports content, not HTTP headers.)

If any of these methods result in an URL that’s different than the URL originally loaded, the specified URL will be considered the “canonical URL” for the original URL. If required, the crawler will also follow a chain of redirects to find the canonical URL.

All likes and shares will be attributed to the canonical URL instead of the loaded URL.

What did you need to do to make a proper migration without losing my share counters according to Facebook?

By controlling the canonical URL you can move content from one URL to another and retain like and share counts, as long as you allow Facebook to continue to resolve the new URL into the old one. This can be done with one of two methods:

Add an og:url tag to the new URL which points at the old URL (Preferred)
In your new URL, you should include a link to the old URL. For example, if your new URL was https://example.com/post-url, and the old URL was http://example.com/post-url, you should include this snippet in the https://example.com/post-url:

<meta property="og:url" content="http://example.com/post-url" />

Using this method tells the crawler that the canonical URL is at the old location, and it will use that to generate the number of likes and shares on the page. Any new likes and shares will continue to aggregate on the old URL as well.

Read more about the whole process and specific redirection settings you may need to apply inside Facebook Documentation

Sounds complicated if you are not a developer? Do not worry about that. Here is the secret that will make it simple

In Easy Social Share Buttons for WordPress, we simplified all that with just a few easy to use options from settings. Once you activate them all your past Facebook shares (or shares from other networks that support official counters) will be back again – NO CODING KNOWLEDGE IS REQUIRED!

All you need to do is navigate to the Share Counters Setup and choose that you wish to recover shares when migrating to https.

If you've lost your Facebook shares because you move your site to HTTPS/SSL, with Easy Social Share Buttons for #WordPress you can restore them without being a rocket scientiest Click to Tweet

Read the full guide for share recovery usage →

Does not have a license for Easy Social Share Buttons?

Stand out from the rest of the crowd with unique WordPress social share buttons, awesome looking social followers counter, easy to use subscribe to mail list forms and social live chat functions. All that in the recognized as the most powerful and feature packed social sharing plugin by WordPress experts.

Learn More For Easy Social Share Buttons for WordPress →

Purchase of Easy Social Share Buttons for WordPress is $20 one time payment without monthly or yearly fees including lifetime plugin updates and lifetime usage license.

Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.



If you are using Easy Social Share Buttons for WordPress for Pinterest recovery of shares you need to use the build inside plugin share recovery function. Pinterest unlike Facebook is not able to move the history of migration in any form and all share counts are split on each URL. With share recovery you will generate a summary of both page versions.

To get help with settings this inside Easy Social Share Buttons for WordPress please contact our support team at http://support.creoworx.com

Best Regards,
AppsCreo Team

Leave a Reply