SSL breaks Facebook Likes button

really simple ssl social
facebook snippet
share count recovery

My blog https://sonicscoop.com has older posts dating all the way back to 2012 with hundreds of Facebook "likes" such as this one https://sonicscoop.com/2012/08/29/the-big-list-of-free-pro-tools-plugins-2/, but they all lost their correct count when we switched to https: as you can see here:

https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fsonicscoop.com%2F2012%2F08%2F29%2Fthe-big-list-of-free-pro-tools-plugins-2%2F

For some reason Facebook's debugger is detecting the canonical and og:url as https:// even though the page's rendered HTML shows them as http://.

If I can get Facebook to pick up the http canonical for older posts I'm hoping the likes will return to the correct count. Here is my .htaccess file:

# --enable htaccess rewrites
RewriteEngine on
# --force https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
# --remove www for site
RewriteCond %{HTTP_HOST} ^www\.sonicscoop\.com [NC]
RewriteRule ^(.*)$ https://sonicscoop.com/$1 [L,R=301]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
AddHandler application/x-httpd-php54s .php

Try below solution

1) WordPress Dashboard

2) After moving your site files (if necessary), log into your your WordPress Dashboard as an administrator. Next, click on Settings from the menu, and then General.

3) Click on General to get started.

4) The two fields we'll change are WordPress Address (URL) and Site Address (URL) set https for both url

5) Scroll down the page and click on the Save Changes button.

6) After that Settings > Permalinks

7) Scroll down if needed and click "Save Changes".

after above all steps check og:url then check if FB like is working for you.

How to recover Facebook likes after moving to https/ssl, By setting the href attribute of the like button to your old (http) URL, the likes will get added to the http URL, but at the same time the likes for  How to recover Facebook likes after moving to https/ssl. Websites with a lot of Facebook likes are bound to lose some likes or shares when they move their site to https / SSL. Facebook sees your https URL as a complete different url.


When facebook crawl your page it got redirected to https version of your page. Even if your og:url use http version, I think facebook will still use the canonical or final url of your page.

Try to change your rewrite condition on .htaccess into something like:

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
# --remove www for site
RewriteCond %{HTTP_HOST} ^www\.sonicscoop\.com [NC]
RewriteRule ^(.*)$ https://sonicscoop.com/$1 [L,R=301]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
AddHandler application/x-httpd-php54s .php

Recovering missing Facebook comments (and like counts) after , You might notice that you are missing your Facebook comments once you switch to HTTPS from Recovering missing Facebook comments (and like counts) after switching to SSL See if your dashboard breaks. much if all of a sudden you lost all your Facebook like stats on your like buttons in the site. SSL breaks Facebook Likes button. Newest facebook-like questions feed Subscribe to RSS Newest facebook-like questions feed To subscribe to this RSS feed, copy and


You can use Really simple SSL plugin if it is wordpress site.

  1. Install plugin and activate.
  2. Go to settings you can see SSL. CLICK on it.
  3. enable ssl.

    This plugin will take all ssl issues.

How to restore Facebook likes and reposts after switching to HTTPS , You are now viewing LeaderSSL in English. Switch to How to restore Facebook likes and reposts after switching to HTTPS. How to After entering the URL in the Sharing Debugger, you will see a button with inscription "Scrape Again". How to restore Facebook likes and reposts after switching to HTTPS. Transition from HTTP to HTTPS is a legitimate and reasonable process in recent years, which is allow following with best practices of the industry and protecting sensitive visitors data.


Facebook sharing not scraping URL correctly with HTTPS links , If you're getting errors with your Facebook URL preview while sharing on So before I admitted I had a bad SSL certificate I went through a checklist: Sometimes the “Scrape Again” button does not work properly, let's use an old trick. like https://mydomain.com?fbrefresh=CAN_BE_ANYTHING ). I have a facebook 'Like' button on my page and it's working fine. But when the visitor is logged in as a 'Page' at facebook it includes a photo and breaks my design. I guess this is because Pages aren't allowed to like things.


How to Fix Common SSL Issues in WordPress (Beginner's Guide), Are you trying to fix common SSL / HTTPS issues on your WordPress site? if you want to make an online store or want to use payment services like PayPal, Stripe, Authorize.net, etc. Don't forget to click on the save changes button to store your settings. You can also find us on Twitter and Facebook. Pick the URL of a website or Facebook Page you want to use with the like button. 2. Code Configurator. Paste the URL to the code configurator and adjust settings like the width of your like button. Click the Get Code button to generate your like button code. 3. Copy & Paste HTML Snippet. Copy and past the snippet into the HTML of the destination website. 4.


How to Easily Move WordPress from HTTP to HTTPS (Beginner's , Here's a step by step guide on how to add SSL and switch WordPress Most payment companies like Stripe, PayPal Pro, Authorize.net, etc will Don't forget to click on the 'Save changes' button to store your settings. You can also find us on Twitter and Facebook. I tried this plugin and it broke my site. If the Like, Share or Send button is placed near the edge of an HTML element with the CSS overflow property set to hidden, the flyout may be clipped or completely hidden when the button is clicked. This can be remedied by setting the overflow property to a value other than hidden, such as visible, scroll, or auto.