#27783 closed enhancement (invalid)
Multi Site: Native support for using "domain mapping" including setting subdirectories
Reported by: | schlimpf | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | |
Focuses: | multisite | Cc: |
Description
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.
Regards
Change History (8)
#4
follow-up:
↓ 5
@
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
@
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: http://postimg.org/image/trqf49173/).
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.
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?
Regards