[wp-trac] [WordPress Trac] #19796: Multisite installs should work with WordPress in a subdirectory

WordPress Trac noreply at wordpress.org
Tue Nov 20 14:33:43 UTC 2012


#19796: Multisite installs should work with WordPress in a subdirectory
-------------------------------------+--------------------------
 Reporter:  markjaquith              |       Owner:  markjaquith
     Type:  task (blessed)           |      Status:  closed
 Priority:  high                     |   Milestone:  3.5
Component:  Multisite                |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------------

Comment (by nacin):

 Replying to [comment:77 toderash]:
 > I have installed 3.5-beta3-22639 on nginx with multisite enabled and
 wordpress core files in a subdirectory: domain.com/wp/wp-*. Works fine
 except a minor issue in the nav from the admin bar, where links to any of
 the *network* admin pages omit the /wp/ subdir. Hacking the url to add the
 /wp/ subdir yields the correct pages, which then function as expected
 until a form submission, which then attempts to return without the /wp/
 subdir. Other nav links in the admin bar to the root site admin correctly
 include the /wp/ subdir.

 That's actually expected behavior. /wp/ doesn't exist anywhere in the
 database — only rewrite rules. That's what this ticket ended up being
 about. So you would continue to go to /wp-admin/ and /wp-admin/network. I
 think the only case where that wouldn't be true is indeed the main/root
 site, which would keep /wp/ as before. If you removed /wp/ from siteurl
 for that site, everything should continue to work as the rewrite rules
 will handle it. If that isn't the behavior you're seeing, please open a
 ticket.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19796#comment:78>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list