Locked All Facebook likes reset to 0 after hosting shift

Madhur Chadha
Madhur Chadha
from Hyderabad
6 years ago

Hi Techies,

Need urgent help. I recently shifted my self hosted wordpress site from one wordpress account to another. Content, permalink structure are the same.

Sadly to my utter dismay all my FB Likes, share counts, Twitter counts are showing as 0.(FB comments also are gone but that has happened before because of FB updates).

I have lost 1000s of likes and share counts...

Can anyone help?

Thanks,

Madhur

Replies 1 to 7 of 7 Descending
Harsh Agrawal
Harsh Agrawal
from New Delhi
6 years ago

@Madhur

This should not happen until your Permalinks ae changed....

Can you post your blog link?

Harsh

Madhur Chadha
from Hyderabad
6 years ago

http://madhurchadha.com/2012/03/gurgaon-8-pm-rape/

this url had over 5 K likes and a few 100 tweets..all gone...only google + is there

 

Yogesh Sarkar
Yogesh Sarkar
from Delhi
6 years ago

Have you changed any plugins, domain name or URL structure of your blog? If not, then this shouldn't really happen, especially in case of self hosted wordpress blog.

Hemal Shah
from Mumbai
6 years ago

I recently shifted my self hosted wordpress site from one wordpress account to another

He has moved the wordpress site, so the domain has changed I guess. 

Madhur Chadha
from Hyderabad
6 years ago

Nop..the structure is same :(

How can plugins really effect the FB likes?

 

Madhur Chadha
Madhur Chadha
from Hyderabad
6 years ago

@hemal, No Wordpress was the platform, it was self hosted

Yogesh Sarkar
Yogesh Sarkar
from Delhi
6 years ago

Are you talking about FB likes on a Facebook page or likes on individual posts?

If it is only individual posts, then it is managed by either adding a plugin or manually adding like button in template.

Madhur Chadha
from Hyderabad
6 years ago

Individual Pages..I already have the necessary plugins installed. I Use jetpack

 

Prayag Verma
Prayag Verma
from Noida
6 years ago

The URL structure was indeed changed

I looked through the archives of your blog and found that the URL of that post is really http://madhurchadha.com/2012/03/14/gurgaon-8-pm-rape not http://madhurchadha.com/2012/03/gurgaon-8-pm-rape

If you test via https://developers.facebook.com/docs/plugins/like-button/ , you will see that the page still has 5,659 Likes and 116 Tweets ( http://urls.api.twitter.com/1/urls/count.json?url=http://madhurchadha.com/2012/03/14/gurgaon-8-pm-rape )

A workaround would be to change the Share URLs to the Old Post URLs but keep the Post on the current URL (As I have checked the old URL does a 301 redirect to the New URL )

Other thing people recommend is pointing the Open Graph og:url Meta tag to the old Post URL (But this has some problems as well , if all your posts weren't using the Old URL Structure , then this might lead to problems in counts. Also currently your post don't have any Open Graph Meta tags other than og:image )

You will have to change the URL structure again or Likes will not appear (Once information about a URL is created in the FB database , that can't be transferred to another URL) But be careful as your posts are now a mixture of ones using the URL those that were migrated from the Old URL structure and ones which were created on the New URL structure  . 

So I suggest changing the URL structure of the ones that were migrated from the old URL Structure to their original URL. This will introduce non-uniformity in the URL structure but is the only sure way to get the Share counts back easily

Hope this helps

Madhur Chadha
Madhur Chadha
from Hyderabad
6 years ago

Oops ..This is embarrasing ,  I thought the structure was same.I simply changed the permalink structure and I am all set :)

> Not sure How i missed it. A very Big thank you to Prayag...Thanks a Lot dude, you made my day :)

Hemal Shah
Hemal Shah
from Mumbai
6 years ago

Cool! I believe the issue is resolved and it is now clear what caused the issue. I will lock this thread. If anyone wants to reopen the thread, please IndiMail me / other IndiPolice. 


LockThis topic is locked.