[wp-trac] [WordPress Trac] #36821: Domain name mismatch in wordpress admin page
WordPress Trac
noreply at wordpress.org
Thu May 12 06:46:07 UTC 2016
#36821: Domain name mismatch in wordpress admin page
--------------------------------+----------------------
Reporter: tools4toni | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Networks and Sites | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------------+----------------------
Changes (by swissspidy):
* status: new => closed
* focuses: multisite =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hey there
Welcome to trac and thanks for creating this ticket!
The value you get there in the suggested config for `DOMAIN_CURRENT_SITE`
is the output of `get_clean_basedomain()`.
This function gets the values from two places:
* The multisite sites database table if it's an existing network (see
`network_domain_check()`)
* or else from the `siteurl` option
To fix this:
* Check your network dashboard for sites with the wrong domain
* Check your site URL and home URL settings under Settings -> General
* Check if the `WP_HOME` and `WP_SITEURL` constants are defined in your
`wp-config.php` file
That should help you finding the culprit.
In any case, WordPress only shows you what has been configured, so it's
not really a bug. I'm therefore closing this ticket. If you need further
help, please check out the [https://wordpress.org/support/forum/multisite
Multisite support forums], which are more appropriate for this kind of
questions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36821#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list