WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After installation I've got a default root blog '/'. Then I've created a new one '/en'. I really don't want to use the default blog. How can I redirect all accesses from / to /en ?

share|improve this question
up vote 0 down vote accepted

In your .htaccess file in the main '/' directory, put:

# This allows you to redirect index.html to a specific subfolder
Redirect /index.html http://example.com/en/
share|improve this answer

Instead of redirecting, just move the site you want into the old one:

  1. Remove all pages, posts and taxonomies from the old unwanted site, and empty the trash to clear the database fields.
  2. Export the content from your new preferred site.
  3. Download and install the WordPress Importer plugin, and import your content into the main site in your network.
  4. Install your plugins, enable theme, change settings, etc. to match the other site.
  5. Once everything is how you would like it, delete the second site, and redirect it to the freshly rebuilt one.

To redirect matching pages, use a rule like this in your .htaccess:

RewriteEngine On
RedirectMatch 301 /en/(.*)? http://jeffsebring.com/$1
share|improve this answer

Your Answer


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.