'product' 类型的 URL 'http://www.dreampiece.com.au/index.php?main_page=product_info&cPath=2_7&products_id=459' 对象无效,因为属性 'og:url' 的给定值 '' 不能被解析为类型'url'。
这是我的页面来源,
<meta property="og:type" content="product" />
<meta property="og:url" content="" />
<meta property="og:description" content=" Product Details: Total Qty: One Pc Materials: Alloy Electroplate & Rhinestones Size: Pendant - 2.5 cm x 1.6 cm; Length - 40.6 cm (Ext 7.2 cm) Country of Origin: Japan Colour: Golden " />
<meta property="og:site_name" content="DreamPiece Accessories" />
<meta property="fb:admins" content="120867161308451" />
<meta property="og:image" content="http://www.dreampiece.com.au/images/Products/m02040.jpg" />
它可能是由空白 og:url 引起的吗?我正在使用如下代码,
<meta property="og:url" content="<?php echo $canonicalLink; ?>" />