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

WordPress Trac noreply at wordpress.org
Tue Mar 15 17:08:35 UTC 2016


#30581: http/https pages have different canonical URLs
---------------------------------+-----------------------------
 Reporter:  betzster             |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Canonical            |     Version:  2.9
 Severity:  normal               |  Resolution:
 Keywords:  needs-refresh https  |     Focuses:
---------------------------------+-----------------------------

Comment (by joemcgill):

 Alternately, it looks like the approach in #36168 would be to replace the
 `get_permalink()` call with a call to a new function,
 `get_canonical_url()`.

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


More information about the wp-trac mailing list