WordPress.org

Forums

Multisite in subdirectory (4 posts)

  1. mkozak
    Member
    Posted 3 years ago #

    I think it might be really hard to do and I may not avoid doing some core changes, but first I want to ask here.

    I have my ruby on rails application at domain.com - I want to use wordpress mu as blogs engine (this is part of website concept) using subdomains (user.domain.com user2.domain.com etc) but wordpress can't be at domain.com directly because there have to be my rails app. Is it possible to run wordpress in something like domain.com/wp but catch subdomains in *.domain.com (as I said, I'm aware that I may have to dig into the wordpress core) or is it completely impossible?

  2. If you're real good at apache and vhosts and all, maybe. I think somewhere, someone did that by faking domain mapping, but the issue is that WordPress really doesn't like running out of a subfolder like that when it comes to Multisite. Also Apache doesn't like it...

    You MAY be better off installing in wp.domain.com and having subsites be wp.domain.com/user1 and so on. And THEN mapping wp.domain.com/user1 to user1.domain.com ... But that's theory.

  3. mkozak
    Member
    Posted 3 years ago #

    Thx for reply.

    I think that your idea have sense. I didn't thought of wp.domain.com as blogs center for entire network. I'm good at apache, nginx, and all this load-balancing and HA stuff so it shouldn't be a problem at all. I'm getting tired of this project and this solution which you mention didn't appear (unfortunately) in my mind probably because of this.

  4. It is soooo easy to get locked into one view :) Don't worry. And let us know if it works!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags