[wp-trac] [WordPress Trac] #36737: Single site reachable on multiple subdomains always redirected to site_url
WordPress Trac
noreply at wordpress.org
Tue May 3 07:21:31 UTC 2016
#36737: Single site reachable on multiple subdomains always redirected to site_url
--------------------------+-----------------------------
Reporter: jsoft | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Canonical | Version: 4.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
We run a site which is reachable by multiple subdomains (nb. not
multisite) For example customer1.site.nl, customer2.site.nl. A plugin uses
the subdomain to display different data for each customer. The site url is
set to www.site.nl.
Since a recent update this stopped working. The visitor is always redirect
to the site url www.site.nl.
I tracked down the problem to canonical.php. When I replace this file with
the version from 4.4.2 the old behaviour is back, ie. the subdomains are
not redirected.
There are no rewrite rules for these sub domains.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36737>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list