Title: throw 404 error for random admin url
Last modified: August 30, 2016

---

# throw 404 error for random admin url

 *  [anjanap](https://wordpress.org/support/users/anjanap/)
 * (@anjanap)
 * [11 years ago](https://wordpress.org/support/topic/throw-404-error-for-random-admin-url/)
 * How can I redirect to 404 error page when someone logs in to the admin with incorrect
   admin url.
    example.com/addedtext/wp-admin instead of example.com/wp-admin
 * I’ve a multisite setup and example.com/addedtext/wp-admin shows the dashboard
   same as that of example.com/wp-admin when logged in.
 * Need to throw 404 error if example.com/addedtext/wp-admin.

The topic ‘throw 404 error for random admin url’ is closed to new replies.

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 0 replies
 * 1 participant
 * Last reply from: [anjanap](https://wordpress.org/support/users/anjanap/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/throw-404-error-for-random-admin-url/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
