[wp-trac] [WordPress Trac] #12002: Multisite should not lock the root blog into using a /blog prefix
WordPress Trac
noreply at wordpress.org
Mon Sep 28 20:14:32 UTC 2015
#12002: Multisite should not lock the root blog into using a /blog prefix
----------------------------+-------------------------
Reporter: wpmuguru | Owner: jeremyfelt
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: Bootstrap/Load | Version: 3.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
----------------------------+-------------------------
Comment (by jeremyfelt):
Some notes after staring at this for a bit:
* You **can** change the `/blog` prefix on the main site now by updating
the Permalink Structure through `wp-admin/network/site-settings.php`. This
will work, but then break as soon as permalinks are modified in the site's
`wp-admin/options-permalink.php` because that page forces the `/blog`
prefix on everything for the main site.
* I don't think this ticket is necessarily about collision detection. We
should address that separately. There are a handful of related tickets out
there. #11766, #13459. #24776 is probably the best for overall description
of need in the global context.
* I think it's okay if `/blog` is still set as the default during network
setup.
* I don't think we need a new filter to manage this.
To address the issue in this ticket, we need to make it possible to change
or remove `/blog` in the permalink structure for the main site.
This seems to mean checking for `/blog` at the beginning of the existing
permalink structure for the main site. If it exists, continue to enforce
it whenever permalinks are updated. If it doesn't, defer to the decision
made by the network admin through `site-settings.php`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12002#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list