[wp-trac] [WordPress Trac] #13754: "Add Site" results in incorrect subdomain URL
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 10 15:37:13 UTC 2010
#13754: "Add Site" results in incorrect subdomain URL
--------------------------+-------------------------------------------------
Reporter: ohthenoes | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Multisite | Version: 3.0
Severity: major | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Comment(by ohthenoes):
I just tested something. Here's the step-by-step:
0. I went into cPanel and configured my domain to accept both "www." and
non-"www."
1. I deleted my wp-content/cache/
2. I made a new MySQL database.
3. I imported my MySQL backup (prior to the enabling of the multisite and
contains the "www.").
4. I changed back the .htaccess and the wp-config.php to connect to the
new MySQL database.
5. WordPress did the database upgrade thing.
6. I did the steps to enable the multisite.
6. I attempted to make a new site.
7. The URL became "munsu.skyling.netskyling_net"
I checked around and looked into the wp_config.php. I think I found where
the "skyling_net" comes from. It's actually my database name - though I
can't understand why it would insert itself there. This applies to my
original configuration as well - my original database name was skyling (as
much as that's not really security-safe).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13754#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list