Title: social button and migrate to https
Last modified: February 25, 2017

---

# social button and migrate to https

 *  [GiovanniBertagna](https://wordpress.org/support/users/giovannibertagna/)
 * (@giovannibertagna)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/social-button-and-migrate-to-https/)
 * good evening,
    I migrated from http to https but now the social theme buttons
   show 0 shares. How can I do to restore the count? thank you

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Cafeine](https://wordpress.org/support/users/cafeine/)
 * (@cafeine)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/social-button-and-migrate-to-https/#post-8848574)
 * Good question, same problem here. 😡
 *  [Sho-Down](https://wordpress.org/support/users/sho-down/)
 * (@sho-down)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/social-button-and-migrate-to-https/#post-8854468)
 * Facebook sees your https url as a completely different url, has nothing to do
   with the Hueman theme. Try this link for more info [https://developers.facebook.com/docs/plugins/faqs#moving-urls](https://developers.facebook.com/docs/plugins/faqs#moving-urls)
 *  Anonymous User 12851872
 * (@anonymized-12851872)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/social-button-and-migrate-to-https/#post-8856248)
 * Hi,
    Not possible, go from http to https and a redirection, limit as a change
   of address, there is only the paid version of the Social Warfare plugin that 
   manages to reset the counters as it should.
 *  [kerdezo](https://wordpress.org/support/users/kerdezo/)
 * (@kerdezo)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/social-button-and-migrate-to-https/#post-8904305)
 * Hi [@giovannibertagna](https://wordpress.org/support/users/giovannibertagna/),
 * On my national wp forum there is an entry to solve fb likes gone issue, by adding
   the following snippet to theme functions.php:
 *     ```
       add_filter("rsssl_fixer_output","rsssl_exclude_http_url");
       function rsssl_exclude_http_url($html) {
       $html = str_replace('data-href="https://', 'data-href="http://', $html);
       $html = str_replace('data-rsssl', 'data-rsssl-fb data-rsssl', $html);
       return $html;
       }
       ```
   
 * Hope this helps 🙂
    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘social button and migrate to https’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [ssh](https://wordpress.org/support/topic-tag/ssh/)

 * 4 replies
 * 5 participants
 * Last reply from: [kerdezo](https://wordpress.org/support/users/kerdezo/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/social-button-and-migrate-to-https/#post-8904305)
 * Status: not resolved