[wp-trac] [WordPress Trac] #16572: Admin URL's break when site is installed as a subdirectory
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 15 21:36:21 UTC 2011
#16572: Admin URL's break when site is installed as a subdirectory
-------------------------------+------------------------------
Reporter: jcorradino | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.0.5
Severity: major | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by jcorradino):
That actually seemed to have been the issue. $_SERVER['REQUEST_URI']
returned /wp-admin/post.php, not /news/wp-admin/post.php.
I set $_SERVER['REQUEST_URI'] = '/news'.$_SERVER['REQUEST_URI'] in
functions.php for the theme and that seemed to have fixed the issue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16572#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list