[wp-trac] [WordPress Trac] #31507: Error determined blog when using multi-site, a domain different than the current site, and more than 1 path segment

WordPress Trac noreply at wordpress.org
Mon Mar 2 22:11:44 UTC 2015


#31507: Error determined blog when using multi-site, a domain different than the
current site, and more than 1 path segment
--------------------------------+------------------------------
 Reporter:  iotr                |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  3.9
 Severity:  normal              |  Resolution:
 Keywords:  reporter-feedback   |     Focuses:  multisite
--------------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:   => reporter-feedback
 * version:  4.1 => 3.9


Comment:

 Hi @iotr, thanks for the report!

 The filter `site_by_path_segments_count` is available in
 `get_site_by_path()` for this specific instance. You can use that to
 override the path count to 2 in your case.

 The move to using this method happened in #27003. It may be worth going
 through that to see the decision making.

 Are you using a plugin or custom code to manage the creation of networks
 and sites with different domains? I'd like to make sure we've done
 everything possible to help in the transition process.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31507#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list