admin管理员组文章数量:1122833
I have facebook Like Button and I use Wordpress 3.4.1. I notice if I make "like" on URL like /{post_type}/{post_slug}/ facebook knows about copy of this page on URL /?{post_type}={post_slug}. I see that Like Button is on and off on these pages simultaneously. And I don't understand why. I've disabled <link rel="canonical"> tag. I've looked for HTTP-headers like "Link" or "Canonical" or something else on my pages and I have had nothing about it. I have no Open Graph Protocol on my site. But facebook knows that these pages are just duplicates. Where is the answer?
I have facebook Like Button and I use Wordpress 3.4.1. I notice if I make "like" on URL like http://example.com/{post_type}/{post_slug}/ facebook knows about copy of this page on URL http://example.com/?{post_type}={post_slug}. I see that Like Button is on and off on these pages simultaneously. And I don't understand why. I've disabled <link rel="canonical"> tag. I've looked for HTTP-headers like "Link" or "Canonical" or something else on my pages and I have had nothing about it. I have no Open Graph Protocol on my site. But facebook.com knows that these pages are just duplicates. Where is the answer?
Share Improve this question asked Aug 29, 2012 at 15:33 egoregor 91 bronze badge2 Answers
Reset to default 0They are the same resource.
The actual URL is http://example.com/?{post_type}={post_slug}
The rewrite URL (via permalink settings/.htaccess) is http://example.com/{post_type}/{post_slug}/
I've disabled link rel="canonical" tag.
Why? Re-enable that and your duplicate problems will likely go away. Facebook and other crawlers read that tag to know what the correct URL is and to eliminate duplicate content penalties.
本文标签: How Facebookcom knows about duplicate pages on my site
版权声明:本文标题:How Facebook.com knows about duplicate pages on my site? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736300336a1930779.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论