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

WordPress Trac noreply at wordpress.org
Mon Mar 26 05:05:04 UTC 2018


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

Comment (by SergeyBiryukov):

 > If you have SSL turned on, but don't force redirect, http and https
 pages will have different URLs.

 Found a related issue: if you have a static home page set, it
 [source:tags/4.9.4/src/wp-includes/canonical.php?marks=176,177#L154 does
 force a redirect]. Posts and other pages don't.

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


More information about the wp-trac mailing list