[wp-trac] [WordPress Trac] #40762: Login: add canonical admin shorthand URL for login.php
WordPress Trac
noreply at wordpress.org
Sun May 14 20:22:12 UTC 2017
#40762: Login: add canonical admin shorthand URL for login.php
------------------------------------+-----------------------------
Reporter: lancewillett | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: trunk
Severity: minor | Keywords: has-patch
Focuses: |
------------------------------------+-----------------------------
Users could type `login.php` by accident when trying to access their admin
dashboard because `wp-login.php` is a known URL and shorthand, and either
they don't remember or get it wrong.
Let's make that more friendly.
Right now WordPress treats it as a 404, and tries to redirect it to a
valid permalink if it's available.
It'd be more user-friendly to automatically send to login page, or admin
if logged in.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40762>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list