[wp-trac] [WordPress Trac] #15289: Make it easier for a non-standard URL to be used to access wp-admin

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 9 13:52:29 UTC 2010


#15289: Make it easier for a non-standard URL to be used to access wp-admin
-----------------------------+----------------------------------------------
 Reporter:  caesarsgrunt     |       Owner:                 
     Type:  feature request  |      Status:  new            
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:  3.1            
 Severity:  normal           |    Keywords:                 
-----------------------------+----------------------------------------------

Comment(by caesarsgrunt):

 With the patch, the path used to access wp-admin can be changed as follows
 :

 '''in wp-config.php'''
 {{{
 define('WP_ADMIN_URL', 'admin');
 define('ADMIN_COOKIE_PATH', '/');
 }}}

 '''in .htaccess'''
 {{{
 RewriteCond %{DOCUMENT_ROOT}/wp-admin/$1 -f [OR]
 RewriteCond %{DOCUMENT_ROOT}/wp-admin/$1 -d
 RewriteRule admin/(.*)$ wp-admin/$1
 }}}

 It would be possible to simplify this further, but this is just a first
 run. Feedback would be greatly appreciated.

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


More information about the wp-trac mailing list