WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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}/

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.