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 badge
Add a comment  | 

2 Answers 2

Reset to default 0

They 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