Wordpress 开放图产生;http://invalid.invalid/" 用于共享页面

Wordpress 开放图产生;http://invalid.invalid/" 用于共享页面,wordpress,twitter,facebook-opengraph,Wordpress,Twitter,Facebook Opengraph,我正试图让FB、Twitter和Google+为我的网站提供正确的数据。到目前为止,当我点击FB共享按钮时,我收到一条消息,上面写着“”。我想我是按照指示做的,但也许我遗漏了什么。有人能帮我吗 头 打开的图形标记看起来不错: 然而,sharr.php仅将URL作为参数,因此这是正确的: https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fstaging.keebs.com 你有我们的测试链接吗?@luschn是的,上面的帖子中

我正试图让FB、Twitter和Google+为我的网站提供正确的数据。到目前为止,当我点击FB共享按钮时,我收到一条消息,上面写着“”。我想我是按照指示做的,但也许我遗漏了什么。有人能帮我吗



打开的图形标记看起来不错:

然而,sharr.php仅将URL作为参数,因此这是正确的:

https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fstaging.keebs.com

你有我们的测试链接吗?@luschn是的,上面的帖子中刚刚包含了一个。共享链接位于最右上方。我刚将其更改为该链接,但它仍然显示
http://invalid.invalid/
当我尝试分享时。但我意识到它在门楣上看起来是正确的。到底发生了什么?你仍然像看上去一样包含标题,而且url中也有一个空白。删除此部分:“/&title=欢迎使用移动混音”
<div id="sharing">
    <a target="_blank" class="fb_share" href="http://www.facebook.com/share.php?u=<?php bloginfo( 'url' ); ?> /&title=<?php the_title(); ?>" title="Share on Facebook"></a>
    <a target="_blank" class="twitter_share" href="http://twitter.com/home?status=<?php the_title(); ?>+<?php bloginfo( 'url' ); ?>" title="Share on Twitter"></a>
    <a target="_blank" class="gplus_share" href="https://plus.google.com/share?url=<?php bloginfo( 'url' ); ?>" title="Share on Google Plus"></a>
</div>
https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fstaging.keebs.com