문제

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.

도움이 되었습니까?

해결책

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>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top