# Link to user's preference page (from admin view) returns 404

**URL:** https://meta.discourse.org/t/link-to-users-preference-page-from-admin-view-returns-404/107424
**Category:** Bug
**Created:** [January 24, 2019, 3:18pm UTC](https://meta.discourse.org/t/link-to-users-preference-page-from-admin-view-returns-404/107424 "2019-01-24T15:18:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![alxpck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alxpck/32/243713_2.png) [@alxpck](https://meta.discourse.org/u/alxpck)
#### Post date: [January 24, 2019, 3:18pm UTC](https://meta.discourse.org/t/link-to-users-preference-page-from-admin-view-returns-404/107424/1 "2019-01-24T15:18:29Z")

</div>

Hi,

We just noticed this bug across a few different sites we run.

When you’re in the admin view and click on the “Visit this user’s preferences page to edit their profile” link it returns a 404 error.

 ![00](https://global.discourse-cdn.com/meta/original/3X/7/2/72c6a896fca643efe9e654741bbca27a1bb081ac.png)

Here’s are some dummy links for reference…

What you get when you click the “Visit this user’s preferences page to edit their profile” from the admin view:  
`https://our.domain.com/admin/users/1234/lizlemon/preferences`

The user’s profile exists (non-admin view) at:  
`https://our.domain.com/u/lizlemon/preferences/account`

Thoughts?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [January 24, 2019, 4:23pm UTC](https://meta.discourse.org/t/link-to-users-preference-page-from-admin-view-returns-404/107424/3 "2019-01-24T16:23:35Z")

</div>

Thanks for the report. This is already fixed as per the commit below. It will be deployed to your instance soon.

[https://github.com/discourse/discourse/commit/b9bf751b8823a39d3398d7c170fddef4fc84bbfd](https://github.com/discourse/discourse/commit/b9bf751b8823a39d3398d7c170fddef4fc84bbfd)

---

<div class="post-metadata">

### Author: ![alxpck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alxpck/32/243713_2.png) [@alxpck](https://meta.discourse.org/u/alxpck)
#### Post date: [January 24, 2019, 4:35pm UTC](https://meta.discourse.org/t/link-to-users-preference-page-from-admin-view-returns-404/107424/4 "2019-01-24T16:35:17Z")

</div>

Wonderful. Thanks @vinothkannans

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 25, 2019, 5:59am UTC](https://meta.discourse.org/t/link-to-users-preference-page-from-admin-view-returns-404/107424/5 "2019-01-25T05:59:29Z")

</div>


