[wp-trac] [WordPress Trac] #36507: Invalid URLs in network admin when WP Core is in custom subdirectory

WordPress Trac noreply at wordpress.org
Wed Apr 13 16:17:11 UTC 2016


#36507: Invalid URLs in network admin when WP Core is in custom subdirectory
--------------------------------+------------------------------
 Reporter:  flixos90            |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by DrewAPicture):

 Replying to [comment:4 flixos90]:
 > @dd32:
 > > FWIW, WordPress with Multisite expects that URL Rewriting is enabled,
 which as a result makes the wp-admin folder exist at many different
 locations, such as example.com/site1/wp-admin/ and example.com/site3/wp-
 admin will both be loading the files from /path/to/wp-admin/ (Whether
 you're using subdirectory or subdomain shouldn't matter here, they both
 expect the URL Rewriting will paper over the cracks).
 >
 > I didn't see any notices preventing me from setting up multisite under
 these circumstances. I would say that some areas in multisite not
 considering the possibility that WordPress is installed in a subdirectory
 different from where the actual `index.php` is located should be fixed
 since it works on non-multisite environments without any problems as well.

 To be fair, while WordPress is defensively coded in most places, we should
 never assume that because something doesn't throw errors that it's
 supported functionality by default. If it's working as ''designed'', we
 should have corresponding documentation.

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


More information about the wp-trac mailing list