wordpress yoast og:元数据中不包含url

wordpress yoast og:元数据中不包含url,wordpress,seo,meta,Wordpress,Seo,Meta,刚刚开始。。有人知道为什么中的Yoast meta会缺少OG:URL吗 foreverphotographystudio.com <!-- This site is optimized with the Yoast SEO plugin v3.0.7 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="Austin Wedding Photographer | Fore

刚刚开始。。有人知道为什么
中的Yoast meta会缺少
OG:URL

foreverphotographystudio.com

<!-- This site is optimized with the Yoast SEO plugin v3.0.7 - https://yoast.com/wordpress/plugins/seo/ -->
<meta name="description" content="Austin Wedding Photographer | Forever Photography Studio. Fine art Austin Wedding Photography by the best Austin Wedding Photographers"/>
<meta name="robots" content="noodp"/>
<link rel="publisher" href="https://plus.google.com/+Foreverphotographystudio"/>
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Austin Wedding Photographer | Forever Photography Studio" />
<meta property="og:description" content="Austin Wedding Photographer | Forever Photography Studio. Fine art Austin Wedding Photography by the best Austin Wedding Photographers" />
<meta property="og:site_name" content="Forever Photography Studio" />
<meta property="og:image" content="http://www.foreverphotographystudio.com/wp-content/uploads/2015/12/ForeverPhotographyStudioLogo.jpg" />
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:description" content="Austin Wedding Photographer | Forever Photography Studio. Fine art Austin Wedding Photography by the best Austin Wedding Photographers"/>
<meta name="twitter:title" content="Austin Wedding Photographer | Forever Photography Studio"/>
<meta name="twitter:site" content="@FPS_photo"/>
<meta name="twitter:image" content="http://www.foreverphotographystudio.com/wp-content/uploads/2015/12/ForeverPhotographyStudioLogo.jpg"/>
<meta name="twitter:creator" content="@FPS_photo"/>
<script type='application/ld+json'>{"@context":"http:\/\/schema.org","@type":"WebSite","url":"http:\/\/www.foreverphotographystudio.com\/","name":"Austin Wedding Photographer | Forever Photography Studio","alternateName":"Austin Wedding Photographer","potentialAction":{"@type":"SearchAction","target":"http:\/\/www.foreverphotographystudio.com\/?s={search_term_string}","query-input":"required name=search_term_string"}}</script>
<script type='application/ld+json'>{"@context":"http:\/\/schema.org","@type":"Organization","url":"http:\/\/www.foreverphotographystudio.com\/","sameAs":["https:\/\/www.facebook.com\/ForeverPhotographyStudio","http:\/\/www.instagram.com\/foreverphotographystudio","https:\/\/www.linkedin.com\/company\/forever-photography","https:\/\/plus.google.com\/+Foreverphotographystudio","https:\/\/www.pinterest.com\/FPS_Photography\/","https:\/\/twitter.com\/FPS_photo"],"name":"Forever Photography Studio | Austin Wedding Photographer","logo":"http:\/\/www.foreverphotographystudio.com\/wp-content\/uploads\/2015\/12\/1518191_10151864082616924_1046507677_o.jpg"}</script>
<meta name="yandex-verification" content="68998b2e2c070db0" />
<!-- / Yoast SEO plugin. -->

{@context:“http:\/\/schema.org”,“@type:“WebSite”,“url:“http:\/\/www.foreverphotographystudio.com\/”,“name:“Austin婚礼摄影师{124; Forever Photographystudio”,“alternateName:“Austin婚礼摄影师”,“potentialAction:{@type:“SearchAction”,“target:”:“http:\/\/www.foreverphotographystudio.com\/”s=“s={search term\U string”,“查询输入”:“所需名称=搜索\术语\字符串”}
{“@context”:“http:\/\/schema.org”,“@type”:“Organization”,“url”:“http:\/\/www.foreverphotographystudio.com\/”,“sameAs”:[“https:\/\/www.facebook.com\/foreverphotographystudio”,“http:\/\/www.instagram.com\/foreverphotographystudio”,“https:\/\/www.linkedin.com\/company\/forever photographystudio”,“https:\/\/\/plus.google.com\/+foreverphotographystudio”,“https:\/\/www.pinterest.com\/FPS\u Photography\/”、“https:\/\/twitter.com\/FPS\u photo”]、“名称”:“永远摄影工作室;奥斯汀婚礼摄影师”,“徽标”:“http:\/\/www.foreverphotographystudio.com\/wp content\/uploads\/2015\/12\/1518191\u 10151864082616924\u 104650677\u o.jpg”
检查header.php 并添加以下行:

将“Yoast SEO”插件更新为最新版本,应该会被修复


他包含的元数据在网站中,因此wp_head()在header.php中。Yoast SEO插件不再包含og:url元数据。我也有同样的问题,我正在试图找出原因。至少Facebook调试工具对丢失的og:url发出了警告。