#13754 closed defect (bug) (worksforme)
"Add Site" results in incorrect subdomain URL
Reported by: | ohthenoes | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Multisite | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Frumph recommended for me to make this ticket because neither he nor I can make sense of it.
I upgraded my WP using the Beta Tester plugin two days ago and decided to turn on the multi-site feature.
I was in the WP IRC at the same time and Frumph and sivel told me that "www." isn't recommended. Because I had installed WP with "www." included, I went into phpMyAdmin to remove them from the following tables: wp_blogs, wp_options, wp_site, wp_sitemeta.
However, the problem when I try to use the "Add Site" feature.
I decide to create "munsu.skyling.net" and hit the add site button. When it comes up on dashboard, the URL has become: "munsu.skyling.netskyling/".
Attachments (1)
Change History (18)
#3
@
15 years ago
- Keywords reporter-feedback added
- Priority changed from high to normal
- Severity changed from blocker to major
We need more reproductive details and you really need to test this on a clean install where you haven't made manual modifications to the database.
#4
@
15 years ago
Did you edit your wp-config.php and change the DOMAIN_CURRENT_SITE constant?
Did you edit the siteurl & home options in your options table?
#5
@
15 years ago
I have limited internet at the moment (will be able to have proper access on Saturday) and will attempt to reproduce it then. Apologies for that.
@wpmuguru: I checked wp-config.php and the DOMAIN_CURRENT_SITE constant is as it should be.
Yes, I also edited siteurl and home.
I am planning on undo-ing the entire network process (restore my old wp-config.php, htaccess and MySQL database prior to the enabling of the multisite feature). Then I will attempt to do the process over. I'd like you guys to give me the go ahead, unless there are other things you devs would like to check out.
#6
@
15 years ago
I just tested something. Here's the step-by-step:
- I went into cPanel and configured my domain to accept both "www." and non-"www."
- I deleted my wp-content/cache/
- I made a new MySQL database.
- I imported my MySQL backup (prior to the enabling of the multisite and contains the "www.").
- I changed back the .htaccess and the wp-config.php to connect to the new MySQL database.
- WordPress did the database upgrade thing.
- I did the steps to enable the multisite.
- I attempted to make a new site.
- 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).
#7
@
15 years ago
If you want your network to respond to both the www and non-www domain you should remove the www from your URL before you enable the network.
When you did the test did you disable all plugins & revert to the default theme?
#8
@
15 years ago
(Sorry about the bad formatting)
I tested it twice, with both an un-edited database and edited to remove the www. Both resulted in the same problem. I disabled all my plugins but didn't revert theme.
I tried again just now with the same steps (with both edited and un-edited database) but with reverting to the default theme. The problem remains.
#9
follow-up:
↓ 14
@
15 years ago
Please disable all of your plugins. If you can start fresh again with a new install and new DB, that would be far preferred. A /cache folder is not part of core, so I imagine something else may be interfering.
Moving to Unassigned due to lack of reproducible feedback.
#13
@
15 years ago
Sans database, uploaded.
$base = '/';
I copied it straight from the network creation page.
#14
in reply to:
↑ 9
@
15 years ago
Replying to nacin:
Please disable all of your plugins.
I did this each time I installed the multisite and also when I tested creating a site.
#16
@
15 years ago
- Milestone Unassigned deleted
- Resolution set to worksforme
- Severity changed from major to normal
- Status changed from new to closed
#17
@
15 years ago
It's related specifically to Dreamhost's One Click installer. See thread:
http://wordpress.org/support/topic/419042
Can you reproduce this in a non-db-modified installation?
To me, It sounds like you may have left a field set which shouldnt be (Not a clue which one however)