7

我不明白爲什麼Facebook分享者在分享我網站的文章時總是顯示錯誤的文章作者。 (當然,我在分享之前總是使用Facebook調試器)。Facebook分享者顯示(幾乎)總是錯誤的作者

以此article爲例:雖然它由Francesca Aloisio明確書寫,但它一直顯示(當共享時)「by Virginia Vigliar」。

Facebook的調試器報告:

<meta property="article:publisher" content="https://www.facebook.com/wordsinthebucket" /> 
<meta property="article:author" content="https://www.facebook.com/francesca.aloisio.397" /> 

我只是想不通爲什麼。

N.B.我使用Yoast的Wordpress SEO。

+0

作者對我來說顯示正確,當我分享...有趣。 – rnevius 2015-09-30 16:14:33

+0

同樣在這裏。預覽讀「通過Francesca Aloisio」。儘管如此,還是有一些關於重複og標籤和意外標籤順序的警告...... – 2015-09-30 20:58:27

回答

1

爲什麼你的og值定義爲兩次

在下面看一看(23行至47行):

<!--Facebook Open Graph--> 
<!--FB page title--> 
<meta property="og:title" content="Indonesia Makes a Sharp U-turn on Virginity Tests" /> 
<!--FB description--> 
<meta property="og:description" content="Most students in the world may think that in order to get their high school diploma they would have to meet certain requirements: good grades, good attitude towards school, good relationship with teac..."/> 
<!--FB url--> 
<meta property="og:url" content="http://wordsinthebucket.com/u-turn-indonesia-virginity-tests"/> 
<!--FB image--> 
<meta property="og:image" content="http://wordsinthebucket.com/wp-content/uploads/2015/02/indonesia-exam.jpg" /> 
<!--FB type--> 
<meta property="og:type" content="article"/> 
<!--FB site name--> 
<meta property="og:site_name" content="Words in the Bucket"/> 

<!-- This site is optimized with the Yoast SEO plugin v2.3.5 - https://yoast.com/wordpress/plugins/seo/ --> 
<title>Indonesia Makes a Sharp U-turn on Virginity Tests</title> 
<meta name="description" content="Indonesian officials were forced to take a step back on their proposal of introducing virginity tests for high schoolgirls."/> 
<link rel="canonical" href="http://wordsinthebucket.com/u-turn-indonesia-virginity-tests" /> 
<link rel="publisher" href="https://plus.google.com/+WiBTeam/about"/> 
<meta property="og:locale" content="en_US" /> 
<meta property="og:type" content="article" /> 
<meta property="og:title" content="Indonesia Makes a Sharp U-turn on Virginity Tests" /> 
<meta property="og:description" content="Indonesian officials were forced to take a step back on their proposal of introducing virginity tests for high schoolgirls." /> 
<meta property="og:url" content="http://wordsinthebucket.com/u-turn-indonesia-virginity-tests" /> 
<meta property="og:site_name" content="Words in the Bucket" /> 

刪除其中任何一個,因爲這是導致FB調試表明:

enter image description here

0

首先:謝謝大家的回覆。然而,與此同時,我改變了我的主題,因爲我意識到這是一個與我之前的問題有關的問題:它在頁面的開頭部分有一個「頂級帖子」部分,並且在那裏顯示的第一篇帖子被FB分享者看到作爲元「源」。

關於雙重值,感謝注意。我的實際主題顯然有它自己的「SEO」。所以我只是從header.php文件中刪除它,並保持YOAST SEO做這項工作。