[wp-trac] [WordPress Trac] #39128: Customize: Preview fails to load when domain mapping in use (home/siteurl domain mismatch)
WordPress Trac
noreply at wordpress.org
Sat Feb 4 23:27:05 UTC 2017
#39128: Customize: Preview fails to load when domain mapping in use (home/siteurl
domain mismatch)
--------------------------+-----------------------
Reporter: RomainVB | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7.3
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by westonruter):
@mikewagz I'm not able to reproduce the issue on my local multisite setup.
Are you saying your primary site has its `home` set to `www.mydomain.com`
whereas its `siteurl` is `hosting.mydomain.com`? If so, how do you have
this mapping applied?
My `wp-config.php` is similarly configured as you:
{{{#!php
<?php
define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'src.wordpress-develop.dev' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
}}}
My primary site's frontend is accessed via http://src.wordpress-
develop.dev
My sub-site's frontend is accessed via http://a.src.wordpress-develop.dev
(Note the `a` subdomain for the sub-site.)
I am able to access the customizer preview on my primary site: http://src
.wordpress-develop.dev/wp-admin/customize.php
As well as via a subsite: http://a.src.wordpress-develop.dev/wp-
admin/customize.php
This is even without the
[https://gist.github.com/westonruter/a9c6841ba7f28192e3eb7d90c9316e75
workaround plugin].
Do you have any other plugins involved active?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39128#comment:52>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list