Question

Good day!

I have a website which based on Joomla 2.5 and use 2 domains english as mirror and cyrillic as primary. On half pages Facebook Like button works normal (example page), but the other half does not work (example page).

I see the following error: Could not resolve object at URL http://провэд.рф/testpages.html, the domain name should been translated from провэд.рф to xn--b1ae2adf4f.xn--p1ai.

What is interesting, the problem appeared a couple of months ago.

Thanks for help.

Était-ce utile?

La solution

Good Day!

I'm resolve this problem by using Open Graph. In all articles I'm set url with link on english domain in og:url property:

<meta property="og:url" content="http://proved-partner.ru/this-article-url.html">

And changed code of like button on the next:

<fb:like show_faces="true" send="false" layout="button_count" 
    href="http://proved-partner.ru{link}"
    width="300">                    
</fb:like>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top