[wp-trac] [WordPress Trac] #34800: Canonical 301 redirects go to request origin instead of site_url (was: Wordpress canonical 301 redirects go to request origin instead of site_url)

WordPress Trac noreply at wordpress.org
Sat Nov 28 19:01:15 UTC 2015


#34800: Canonical 301 redirects go to request origin instead of site_url
-------------------------------+------------------------------
 Reporter:  sevcsik            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Canonical          |     Version:  4.3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback


Comment:

 Thanks for the ticket @sevcsik.

 Can you explain why your origin server serves its site from
 `origin.example.com` when its `home` and `site_url` are set to
 `www.example.com`? What's the reason that the CDN requests
 `origin.example.com` instead of `www.example.com`? This seems like a
 strange configuration.

 Normally with a reverse proxy setup such as this, the origin is served
 from the same host as the CDN. Is there a reason your site is setup
 otherwise? Any more info you could provide will help us look into this
 issue.

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


More information about the wp-trac mailing list