2014-09-27 30 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"/> 
相關問題