Make WordPress Core

Opened 10 years ago

Closed 3 years ago

#27870 closed enhancement (maybelater)

404 for wp-admin ?

Reported by: ozh's profile ozh Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Administration Keywords: needs-patch
Focuses: Cc:


Currently if you try to reach a non-existent admin page (site/wp-admin/bleh.php) you get a 404 from the public part of the blog

Wouldn't it be more logical to get a 404 that would match the admin environment? Or, at least, something along the lines of site/wp-admin/link-manager.php?

Attachments (1)

404.php (417 bytes) - added by gonnabecake 8 years ago.
Simple 404 page for the admin

Download all attachments as: .zip

Change History (7)

#1 @nacin
10 years ago

We don't actually have any rewrites configured for WP-admin, and doing so for this 404 seems unnecessary. Eventually our admin will be good enough for pretty URLs, but we're a long way from that.

#2 @bordoni
10 years ago

Would be awesome to pretty URLs on the admin =) [+1]

#3 @helen
10 years ago

  • Version changed from trunk to 3.9

#4 @chriscct7
8 years ago

  • Keywords needs-patch added

8 years ago

Simple 404 page for the admin

#5 @swissspidy
7 years ago

  • Keywords close added

Rewrites would make this easier, until then this could be added in the template redirection logic. But is there really a benefit of having a custom 404 page for the admin like in 404.php? How often do you access /wp-admin/bleh.php by accident?

#6 @desrosj
3 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

It's been 4 years since the last update, and no one has lobbied for this feature. I tend to agree that it should be closed out. Discussion can always continue on closed tickets, and if a good use case presents itself, we can revisit.

Note: See TracTickets for help on using tickets.