[wp-trac] [WordPress Trac] #33821: redirect_canonical does not consider port in $compare_original

WordPress Trac noreply at wordpress.org
Thu Jun 12 18:26:44 UTC 2025


#33821: redirect_canonical does not consider port in $compare_original
-------------------------------------------------+-------------------------
 Reporter:  willshouse                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Canonical                            |     Version:  2.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  test-info close                                |
-------------------------------------------------+-------------------------

Comment (by siliconforks):

 I'm still not sure I understand the configuration that would trigger this
 issue, but if you're using a reverse proxy, note that it is not expected
 that WordPress will simply work out-of-the-box with a reverse proxy.  It
 will probably be necessary to add code to `wp-config.php` in order to make
 it work.  See #8593, #9235, #15733, #19337, #24394, #57260...

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


More information about the wp-trac mailing list