Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've two wordpress installs at

example.com/blog
example.com/otherblog

What I want to do is install WP at the root, and have a network, but maintain the URLs.

I'm confident I can install WP, and export the single installs, and import them to the network. My question is this: can I do all this, and keep the urls?

And can the an old one run simultaneously with the new network site before it gets imported so I don't have to import both at once? I.e. could I have example.com/blog run under the multisite while example.com/otherblog runs on its own install?

If this is possible what steps do I have to take beyond all the import/export business?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Short answer ... yes.

When you install WordPress at the root of example.com you'll be creating a third blog. Don't worry too much about this, just recognize it's there.

Create your network using subfolders for the different sites. Then create two new sites: blog and otherblog.

By default, any posts on these sites will use the URL structure: example.com/[sitename]/[permalink]

Then just import your old site into the new one and you'll have the same URLs.

Unfortunately, there's not really a way you can have the old one run simultaneously with the new one. All requests to the root (example.com) will be eaten by WordPress and redirected to the appropriate site. So if you set up blog first, any requests to example.com/otherblog will result in a 404 error until you set up and import that site as well.

If your sites were running on subdomains rather than in subfolders it would be possible ... it's an unfortunate circumstance many people who have shared hosting plans run into (and a good reason to upgrade your host).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.