WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13594 closed defect (bug) (fixed)

Moving a site from single site to multi site on WP 3.0 rc1 propose subdirectory, but applies subdomains

Reported by: sushicodeur Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords: reporter-feedback
Focuses: Cc:

Description

When migrating an existing site from single-site to multi-site (3.0 rc1), I've been proposed to migrate using subdirectory which is fine, but, after validating the migration the site is configured for using subdomains, the code given for the .htaccess + wp-config is for multisite using subdomains.

Here is what I've done whith this site :

  • The site was running WP 2.9.2 (with fr_FR locales, running localy on MAMP)
  • Backuped db + files
  • Replaced wp-admin + wp-includes + the php files at the root, except wp-config.php with the 3.0 rc1
  • Migrated the DB using wp-admin

At this stage I had a fully functionnal 3.0 rc1 website (except that some locales were missing), then I tried to configure the site to use multisite

  • Made another backup of the files + db
  • Added "define('WP_ALLOW_MULTISITE', true);" to wp-config.php
  • Activated the multisite in wp-admin / tools / network

At this stage the activation screen told me that only sub-directory was possible, then :

  • Created blogs.dir
  • Modified the wp-config with the given code where "define( 'SUBDOMAIN_INSTALL', true );" was proposed, modified the code as proposed
  • Modified the .htacces with the given code that was also for a sub-domain install
  • Logged out / Logged in
  • Modified the wp-config with the SALT values that where proposed
  • Logged out / logged in
  • When I created the first subsite, I was proposed to create a site in sub-domain, created it, but the site isn't accessible

I hope you can reproduce this.

Change History (3)

comment:1 follow-up: wpmuguru4 years ago

  • Keywords reporter-feedback added

What is your local URL: localhost, an IP address, or a hostname like local.domain?

comment:2 wpmuguru4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15037]) will the real host please step forward, fixes #13594

comment:3 in reply to: ↑ 1 sushicodeur4 years ago

Replying to wpmuguru:

What is your local URL: localhost, an IP address, or a hostname like local.domain?

a Hostname like mysite.local

Note: See TracTickets for help on using tickets.