Skip to content

Commit 2e86337

Browse files
Login and Registration: Add /login.php as an alias for the login page.
This aims to make the login process more user-friendly. Follow-up to [19875], [19880]. Props lancewillett, subrataemfluence, tejwanihemant, ankit-k-gupta, devmuhib, audrasjb, hellofromTonya, joemcgill. Fixes #40762. git-svn-id: https://develop.svn.wordpress.org/trunk@56718 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 319e6b8 commit 2e86337

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wp-includes/canonical.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,7 @@ function wp_redirect_admin_locations() {
10281028

10291029
$logins = array(
10301030
home_url( 'wp-login.php', 'relative' ),
1031+
home_url( 'login.php', 'relative' ),
10311032
home_url( 'login', 'relative' ),
10321033
site_url( 'login', 'relative' ),
10331034
);

0 commit comments

Comments
 (0)