[wp-trac] [WordPress Trac] #33705: Canonical URL missing with default permalink structure

WordPress Trac noreply at wordpress.org
Thu Sep 3 10:05:20 UTC 2015


#33705: Canonical URL missing with default permalink structure
--------------------------+-----------------------------
 Reporter:  flixos90      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Canonical     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I noticed that no canonical URL is shown when using the default permalink
 structure. This happens when you have pretty permalinks disabled, but it
 also happens when you enter a URL in the default permalink structure
 manually:
 For example when I have a post where the URL is `http://example.com/test-
 post/` and I enter `http://example.com/?post=test-post` or
 `http://example.com/?post=4` (where 4 is the post ID), it shows the same
 post, but it does not provide a canonical URL (I assume that URL should
 then be `http://example.com/test-post/`).

 Moreover, since the manually entered URL is not redirected either, I
 wonder if this might have consequences with duplicate content in search
 engines.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33705>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list