WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#23808 new enhancement

allow multisite to match bare URL

Reported by: fuentez Owned by:
Priority: normal Milestone: Awaiting Review
Component: Multisite Version: 3.5
Severity: normal Keywords:
Cc:

Description

Currently, when matching the requested URL to a blog, the "domain" and "path" are used together. When there is no match, no blog will be selected. $path can never be interpreted as just "/".

This makes it impossible to have multiple domains working from the root "/" pointing to separate blogs.

The attached patch makes this possible.

A little more in-depth explanation can be found here:
http://wordpress.org/support/topic/allow-multisite-to-match-bare-url?replies=4

Attachments (1)

patch.txt (634 bytes) - added by fuentez 3 months ago.

Download all attachments as: .zip

Change History (2)

fuentez3 months ago

comment:1 SergeyBiryukov3 months ago

  • Version changed from trunk to 3.5
Note: See TracTickets for help on using tickets.