I currently have a Wordpress multisite network running at http://www.mysite.com and rooted in /var/www/html. I need to set up a completely separate, single-site Wordpress installation accessible via http://www.mysite.com/intranet and rooted in /var/www/html/vhosts/intranet/html. It will use a separate database, a separate set of plugins and themes, etc.

I'm aware that this is not the best of ideas, but it's what the client wants. How can I achieve this setup?

  • The best I could manage was to point http://www.mysite.com/intranet to the child site's homepage (here's the .htaccess). However, any links on it redirect to the parent site and so does http://www.mysite.com/intranet/wp-admin. Aug 26, 2013 at 22:15
  • Ok. This is not too hard with a single site setup. I don't know how multisite might complicate it, but put your subdomain stuff first and thus avoid the multisite rules altogether.
    – s_ha_dum
    Aug 26, 2013 at 22:34
  • I must be doing something wrong here. Same result. Aug 27, 2013 at 2:04

1 Answer 1


I decided to move the child installation to the main site's web root, and rename its subdirectory to intranet. Once I had done this, all I had left to do was place this line of code after the main site's rules:

RewriteRule ^intranet/ - [L]

The - rewrites the URI to itself - thus overriding any previous rules. The request is then passed on to the child site as is.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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