I want to use Wordpress multisite with subdomain and directory simultaneously like


All of the sub sites will be using same database and code. Is there any way to use subdomain and directory at the same time?


It can be done, I'm actually using it for my private multisite installation.

  1. Install WP multisite and set it up in "subdirectory-mode"
  2. Install and setup the Domain Mapping plugin by WPMU
  3. Create a subdomain and point it to your installation. Add this subdomain via the Domain Mapping plugin.

By default your new sub-sites are accessible in a subdirectory but if you apply step 3 it can be accessed via the subdomain as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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