I'm trying to convert a single site at /myblog to multisite where /myblog becomes a virtual folder and /wordpress becomes the actual folder for the install. I'm having issues with old URLs getting redirected to, even though they aren't mentioned in my wp-config file.
History:
An older version of WordPress 2.x was installed on old-domain.com/myblog. 1 year ago, we moved to new-domain.com, and the WordPress site moved with it, to new-domain.com/myblog. This worked fine.
Today, I updated to the latest WordPress version (3.4.2). I copied the /myblog folder to a folder /wordpress and did the update against the /wordpress folder. The /myblog folder was removed. I was able to access a single site version of WordPress at /wordpress as expected.
Next, I enabled multisite by adding define('WP_ALLOW_MULTISITE', true); to my wp-config.php. I logged in and enabled multi-site from the admin panel. It gave instructions on how to update wp-config.php, create the blogs.dir directory, and update rewrite rules. I followed all the steps.
Now I get the following:
new-domain.com/myblog -> Apache 404 (expected for now)
new-domain.com/wordpress -> WordPress 404 - "Fancy meeting you"
new-domain.com/wordpress/wp-admin/ -> redirects to https://OLD-DOMAIN/myblog/wp-login.php -> Apache 404.
Neither "old-domain.com" nor "myblog" are in the wp-config file. They aren't in my vhost as redirects either. Maybe they're stuck in the database somewhere?
Intended outcome:
new-domain.com/myblog -> virtual folder for blog 1
new-domain.com/myblog2 -> virtual folder for blog 2
new-domain.com/wordpress -> just a folder / no blog here.
Any ideas on how to get that old-domain.com domain out of the database and proceed with setting this up?
Thanks,
Nick