【发布时间】:2014-08-01 13:13:51
【问题描述】:
我有一个 joomla 3.2 网站 - http://test.guru99.com。要在墙上贴上的 facebook 链接共享中显示内容,每个页面都必须包含页面头部中存在的 Opengraph 元标记。我使用了一个插件,当我检查它时,页面源中存在所有 og 元标记,因此插件工作正常并且没有问题。
所以我在网上做了一些搜索,发现如果我 disable Gzip Page Compression from Admin -> Global Configuration ->Server. 然后一切正常。我再次启用了 Gzip 页面压缩并检查它现在没有显示。
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="og:title" content="Home" />
<meta name="og:type" content="article" />
<meta name="og:image" content="http://test.guru99.com/images/app_google_play(1).png" />
<meta name="og:url" content="http://test.guru99.com/" />
<meta name="og:site_name" content="Guru99" />
<meta name="og:description" content="This is where your Meta description goes" />
所以,我在网上搜索,很多人有同样的问题,但没有人有合适的解决方案。
我的问题是为什么 facebook 的 opengraph 和 Gzip 页面压缩不能一起工作。 由于 Gzip 也是 google 推荐的并且是必需的。我必须在我的网站上启用 Gzip
我可以调整任何解决方案或设置吗?
【问题讨论】:
标签: joomla metadata gzip facebook-opengraph