Hello. Tell me, here I am adding Opengraph tags to the main page of the index.php site to make a beautiful link in the same Vkontakte

<meta property="og:type" content="website"> <meta property="og:site_name" content="Мой сайт"> <meta property="og:title" content="Мой сайт"> <meta property="og:description" content="описание"> <meta property="og:url" content="http://сайт.ru/"> <meta property="og:locale" content="ru_RU"> 

and it turns out that with the address of the site.ru I do not have these tags displayed, and with the address of the website.ru / index.php are displayed. How can you make the tags and just by the site site.ru displayed

  • Is this the only difference between site.ru / index.php and site.ru ? How do you insert the code? - br3t
  • Yes, the only thing is Alexey
  • and in the connection of this piece of code there are no conditions - br3t
  • Here is the same problem on the old site, there is just plain HTML, so the same problem, I tried to play with .htaccess but without much sense. - user2892006

0