XF 2.2 Local URL snippet doesn't work

Sado Yasashii

Active member
Hello.

Tell me please. I want to move from .NET domain to .RU. I do the transfer of physical files, change in the settings of the URL, as well as edit possible links from the old to the new domain. No problems in work, but for some unknown reason, snippets stopped working on internal addresses, but external ones work without problems. At the same time everything is fine on the old domain. For the test installed XF on a clean base for a new .RU domain and there I see exactly the same problem. I turned to his hoster, the problem with their side did not see, they say go to the developer.
Hoster indicated his analysis of the problem as follows:
As far as we know, the following OG tags are required to display the snippet correctly:
og:title
og:type
og:url
og:image
The main page of your site does not have the image tag:

~ % curl https://newdomain.ru/ -s | grep -i og: | sed 's/\t/''/g'
<meta property="og:description" content="Community platform by XenForo®" />
<meta property="og:site_name" content="Demo" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Demo" />
<meta property="og:url" content="https://newdomain.ru/" />
This is probably causing the problem, because the source site has the right tag:

~ % curl https://olddomain.net/ -s | grep -i og: | sed 's/\t/''/g' | grep image
<meta property="og:image" content="https://olddomaine.net/data/assets/logo/favicon_256.png" />
Please contact your site developer to add the og:image tag to your newdomain.ru site.
According to his analysis, as if there is not enough loaded meta-logo for the output image. For the test downloaded, the result did not give. I do not understand what do not like, any ideas?
 

Attachments

  • Screen Shot 06-14-22 at 12.33 PM.webp
    Screen Shot 06-14-22 at 12.33 PM.webp
    50.8 KB · Views: 7
  • Screen Shot 06-14-22 at 12.32 PM 001.webp
    Screen Shot 06-14-22 at 12.32 PM 001.webp
    23.7 KB · Views: 7
  • Screen Shot 06-14-22 at 12.32 PM.webp
    Screen Shot 06-14-22 at 12.32 PM.webp
    28.1 KB · Views: 7
  • Screen Shot 06-14-22 at 12.30 PM 001.webp
    Screen Shot 06-14-22 at 12.30 PM 001.webp
    16.9 KB · Views: 6
  • Screen Shot 06-14-22 at 12.30 PM.webp
    Screen Shot 06-14-22 at 12.30 PM.webp
    15.4 KB · Views: 7
Last edited:
Back
Top Bottom