Because the social widgets consider https://domain.com as a completely different domain from http://domain.com, your likes that are registered to http://domain.com will be lost after the move to https.
Really Simple SSL social recovers likes by keeping the URL for the widget on http for the pages that were published before you activated this plugin, and will leave the data-href on https for newer posts. This way, your website will gradually move to https for your likes as well. This plugin will only work in combination with Really Simple SSL, as it uses a filter defined by that plugin.The plugin is compatible with the following widgets/plugins:
In some situations the https likes are returned when the Facebook widget requests the likes for http. When this happens the only solution is to directly retrieve the likes through the Facebook API. As this won’t work with custom widgets (I can’t predict where or when the likes are inserted for other widgets), I have created a custom sharing buttons option.
These can be used instead of the sharing widget you currently use. Because the buttons are generated by the plugin itself, it can retrieve the likes itself. The plugin will retrieve both http and https likes for the url the buttons are shown on. This is a pretty stable method, as it is not dependent on other sharing widgets, and seems to bypass even the issue the native Facebook widget has with retrieving the correct likes.
Currently, you have three options: a shortcode, you can place anywhere: rsssl_share_buttons, the option to append the buttons to each post, page, or any post type you want and the ability to add the share buttons as a Gutenberg block.
You can choose to show the buttons inline, at the bottom or top of a page, or as fixed sidebar on the left of the screen. Switching between the options can be done by changing the ‘Show buttons inline or as left sidebar’. The plugin currently contains six themes.
The built-in buttons can be completely customised by enabling the ‘Custom CSS’ option in the plugin settings. The custom CSS options allow you to add CSS to your buttons directly from the plugin settings.
The caching for a url is cleared on a click on a share button, and every hour, but you can disable caching adding define(‘rsssl_social_no_cache’,true); to your wp-config.php.
Really Simple SSL
Although we don’t think you’ll ever want one, we’ll gladly provide a refund if it’s requested within 30 days of purchase.
Easily migrate your website to SSL with Really Simple SSL Pro. Used by more than 3+ million users. Read more
Need help migrating your website? Get our migration service for a handsfree migration.