[wp-trac] [WordPress Trac] #12002: Multisite should not lock the root blog into using a /blog prefix

WordPress Trac noreply at wordpress.org
Sat Jan 3 03:19:09 UTC 2015


#12002: Multisite should not lock the root blog into using a /blog prefix
----------------------------+-----------------------------
 Reporter:  wpmuguru        |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  Future Release
Component:  Bootstrap/Load  |     Version:  3.0
 Severity:  normal          |  Resolution:  worksforme
 Keywords:  needs-patch     |     Focuses:  multisite
----------------------------+-----------------------------
Changes (by MeharBhagat):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Works for me on WP version 4.1

 wp-admin -> options-permalink.php ->


 ----



 if ( is_multisite() && !is_subdomain_install() && is_main_site() )
         $blog_prefix = ''''/blog'''';

 ----

 Change '/blog' to '/AsYouWish'

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


More information about the wp-trac mailing list