wordpress yoast og:url不包含在META中

时间:2016-01-17 06:11:59

标签: wordpress seo meta

刚刚开始发生..任何人都有任何想法为什么OG:URL中的<head>会错过<!-- 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. --> 中的Yoast元?

foreverphotographystudio.com

SELECT  c.name, c.billingaddress, c.billingcity,
        c.billingstate, c.billingzip, c.ifActive,
        x.numberLoads, x.RPM
    FROM  
      ( SELECT  l.idCompany,
                COUNT(*) AS numberLoads,
                SUM(l.loadRate))/(SUM(l.esMiles) AS RPM
            FROM  newLoads l
            WHERE  l.smallStatus = '1' 
      ) AS x
    JOIN  companies AS c  ON c.id = x.idCompany
    WHERE  ifContractor = '0' $cond
    ORDER BY  x.numberLoads DESC; 

2 个答案:

答案 0 :(得分:0)

已将“Yoast SEO”插件更新到最新版本,应该已修复。

https://wordpress.org/plugins/wordpress-seo/

答案 1 :(得分:-1)

检查你的header.php 并添加以下行:

<?php wp_head(); ?>