﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
19607,home/wp-admin and home/wp-login.php should redirect when home != siteurl,nacin,nacin,"Say you have the following setup: home: http://example.com, and siteurl: http://example.com/wordpress.

The wp-admin and wp-login.php links are example.com/wordpress/wp-admin/ and wordpress/wp-login.php. But /wordpress/ can be anything, of course. This makes finding the proper place to log in hard.*

In the case of WordPress in a subdirectory, we should trap 404 requests for /wp-admin/ and /wp-login.php and redirect them to the proper URL.

* Note that this is not at all a security measure. There are ways to find where the files are located, including HTTP headers and body.

Props @matt for the idea.",enhancement,closed,normal,3.4,Canonical,,normal,fixed,has-patch,ipstenu@…
