Reputation: 31
I wonder if there is a way to make the Facebook crawler ignore the canonical link on a page. I have a situation where the canonical link points to a different URL than the one that you are actually on. This results in that the og:image, og:url etc. that is dynamically added to the page is ignored and the information on the facebook page is completely wrong.
I have searched for an answers to this but come up short...
Upvotes: 3
Views: 877
Reputation: 3209
If I have understood your comments correctly, you may be going about this the wrong way. If you want your like button to like a url different to the page you are on, just change the href of the like button. Make sure the page at that href has the correct og tags and you shouldn't have a problem.
If this isn't what you mean, can you try to explain what you are trying to achieve, rather than what you think the problem is, as you might just be approaching it from the wrong angle.
Upvotes: 1