[wp-trac] [WordPress Trac] #20286: Allow direct use of top level domains in multisites

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 23 05:46:00 UTC 2012


#20286: Allow direct use of top level domains in multisites
--------------------------+-----------------------------
 Reporter:  mickylmartin  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:  3.3.1
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 Most people installing the multisite would need top level domains and not
 the subdomains. The domain mapping plugin doesn't really fit in cause it
 depends on creating aliases and mappings and works on redirects.
 Separation is important which i guess is the main purpose of multisiting.

 I see default WP setup allows you to rename the site URL once its created.
 So I did, renamed the subdomain into main domain and got into redirect
 loop problem. After some searching, it turned out the problem was caused
 by DOMAIN_CURRENT_SITE in wp-config being static. So I changed it to
 $_SERVER['SERVER_NAME']. This though solved the looping problem but got
 one more issue. Now going into child site's dashboard requires you to re-
 login cause of cookie not being set for all child top level domains.

 Let's be it - not all people need the subodmain mutisites as you may
 notice on the forums. Meanwhile, if there's a workaround for setting up
 cookies for all of the top level sites when logging into network, please
 advise!

 The multisite codex wiki itself tells the same - as a matter of fact it
 shows a screenshot having a top level domain as a wp site and that was the
 main reason why I went on choosing mutisite.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20286>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list