2014-09-27 67 views
0

我为我的网站运行Joomla 3.4 CMS,并且最近启用了gzip和缓存以加速它,但现在当我发布链接到任何页面时我的网站来自Facebook,它没有抓取任何我想在那里看到的信息(照片,页面标题,文字/描述/元)。在做了一些研究之后,我了解到gzip因Facebook引起的问题而出名,所以禁用gzip并重新测试,但似乎没有什么区别。我发现了一个插件(https://github.com/dgt41/facebookfix)并安装了它,但这也没有帮助。我现在处于亏损状态。我想知道是否还有其他事情正在发生,但我看不到它。 My website is here.如何让我的Joomla网站与Facebook合作打开图表

回答

0

这些都是您必须做的OpenGraph社交元标记设置。试试这些在每个页面的<head>部分。您也可以使用其他扩展名为您自动执行此操作。

<meta property="og:site_name" content="My Website Name"/> 
<meta property="og:title" content="Your Title Here"/> 
<meta property="og:description" content="Your Description Here" /> 
<meta property="og:image" content="http://www.example.com/images/image.png" /> 
<meta property="og:locale" content="en_US"/> 
<meta property="og:type" content="article"/> 
<meta property="og:url" content="http://www.example.com/blog/article-name"/>