[wp-trac] [WordPress Trac] #30581: http/https pages have different canonical URLs

WordPress Trac noreply at wordpress.org
Tue Dec 2 22:40:19 UTC 2014


#30581: http/https pages have different canonical URLs
--------------------------+-----------------------------
 Reporter:  betzster      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 If you have SSL turned on, but don't force redirect, http and https pages
 will have different URLs. Ideally, I think the canonical URL should always
 use http unless `FORCE_SSL` is turned on.

 Even a filter for `rel_canonical` would be better than what we have now.
 Unhooking and creating your own version of `rel_canonical()` works, but if
 multiple plugins do this, you end up with multiple canonical URLs set on
 every page.

 Related: #18660, #14458

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


More information about the wp-trac mailing list