Make WordPress Core

Opened 10 years ago

Closed 8 years ago

Last modified 3 years ago

#27783 closed enhancement (invalid)

Multi Site: Native support for using "domain mapping" including setting subdirectories

Reported by: schlimpf's profile schlimpf Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords:
Focuses: multisite Cc:


Multi site is a great feature and this feature needs to be extended.
Not only subdomain or (exclusive or) subdirectory installs should be possible, but also the combination of these two, better yet with different domains, not only subdomains.


Change History (8)

#1 @schlimpf
10 years ago

Ive just run a few tests and it seems to be possible to set different domains when choosing "subdirectory" install.
I did not find this information anywhere in the documentation. Are there any drawbacks when doing so?


#3 in reply to: ↑ 2 @schlimpf
10 years ago

Replying to SergeyBiryukov:

Related: #14022, #14564, #16900, #17153, #20286.

Thanks for the related tickets.
But as far as I see, the MU Domain Mapping plugin is not needed anymore, or am I wrong?

#4 follow-up: @jeremyfelt
10 years ago

Hi @schlimpf, thanks for the ticket!

I don't think that 'domain mapping' as provided by a plugin such as WordPress MU Domain Mapping is something that should be in core. However, the ability to use arbitrary domains/paths for sites—removing the need for domain mapping in most cases—seems more realistic. We've made some good progress in cleaning up the bootstrap process in this release (see #27003) to further improve support.

As you mentioned, it is possible to do some of this already, especially with the use of a custom sunrise.php file. The bootstrap and database have support. The biggest problem is the lack of a UI for entering arbitrary domains/paths.

It would be worth reading through the potential roadmap for multisite for more brainstorming material.

#5 in reply to: ↑ 4 @schlimpf
10 years ago

Replying to jeremyfelt:

Hi jeremyfelt,

thank you very much for this article. It really cleared some questions about how multi site currently works.
Maybe I am misusing the term "domain mapping". In fact, I just mean the possibility to set a site's domain and also it's subdirectory. Which should - in my oppinion - be somehow supported in the core (which is also described in the article you linked)
As I found out (see my first comment), this seems to be possible with the current version 3.8.2 (see here:
Are there any things to take care of when changing a site's domain?

From what I currently tested it does what I want, without any custom sunrise.php.
I also tested the MU Domain Mapping plugin, but I don't see any benefit when using it. I do not need a site's user to change the domain, because it will be used for a company site, which will be administrated only by one user.

Last edited 10 years ago by schlimpf (previous) (diff)

#6 @jeremyfelt
9 years ago

Related #22383, #31240, which would close this ticket though are technically not duplicates. :)

#7 @jeremyfelt
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 3.8.2 deleted

I'm going to close this out in favor of #22383 (in which arbitrary domain/path is possible when editing a site) and #31240 (in which the same will be possible when adding a site).

#8 @jeremyfelt
3 years ago

#48197 was marked as a duplicate.

Note: See TracTickets for help on using tickets.