Jimmy
Jimmy

Reputation: 1

Facebook "og:url" directions cause clickable image to link to the my old page

Here's my situation. To handle occasional spikes in traffic I got a CDN.

Google says that I should indicate the preferred URL using the rel="canonical" link, so I add:

rel="canonical" href="http://cdn.example.com/cats.html"

But it seems that causes me to lose my Facebook likes on my button on my page so I follow Facebook's "How to move a page to a different URL" advice (https://developers.facebook.com/docs/plugins/faqs#moving-urls) and create an og:url to the OLD page to keep the likes. "meta property="og:url" content="http://www.example.com/cats.html"

So far so good. I change my button so that shares go to my new page, my likes magically appear and all is right with the world, but . . .

. . . whenever I post a link to my page using the new location (http://cdn.example.com/cats.html) on Facebook the link comes out ok but the clickable image beneath the my post links to the old page!

So my question is, two fold 1) is there any way to fix it so the clickable image on FB goes to the new page, and if not 2) am I going to get an SEO hit for my 280K likes showing on the button going down to 20?

Thank you in advance

Upvotes: 0

Views: 183

Answers (1)

Jay Maharjan
Jay Maharjan

Reputation: 561

Have you checked by debugging the URL using facebook Open Graph Debugger as it might be due to cache.

Upvotes: 0

Related Questions