# 404 page after user deletes account

**URL:** https://meta.discourse.org/t/404-page-after-user-deletes-account/43858
**Category:** Feature
**Created:** [Mai 7, 2016, 6:37 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858 "2016-05-07T18:37:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [Mai 7, 2016, 6:37 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/1 "2016-05-07T18:37:41Z")

</div>

1. Sign up for Discourse
2. Click the confirmation link in the email
3. Activate the account at `/users/activate-account/`
4. Preferences → Delete account

Note the /404 page.

---

<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: [Mai 7, 2016, 10:29 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/2 "2016-05-07T22:29:10Z")

</div>

This is correct behavior. If you are proposing a _different_ behavior, go ahead and propose it.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [Mai 8, 2016, 9:19 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/3 "2016-05-08T21:19:58Z")

</div>

I’d have expected to get sent to the default site page, with a confirmation flash showing deletion was successful.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [Mai 8, 2016, 9:29 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/4 "2016-05-08T21:29:40Z")

</div>

Yes, I guess it could be more graceful.

I wasn’t surprised or confused by the 404.

If I’m on a page and I delete the page getting a 404 makes sense to me.

But some kind of “success warning” thing could work too.

---

<div class="post-metadata">

### Author: ![Overmind](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overmind/32/55446_2.png) [@Overmind](https://meta.discourse.org/u/Overmind)
#### Post date: [Mai 9, 2016, 3:48 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/5 "2016-05-09T03:48:01Z")

</div>

> [@Mittineague](#):
>
> If I’m on a page and I delete the page getting a 404 makes sense to me.

The average user would think it was an error if there wasn’t some sort of success your account has been deleted message.

---

<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: [Mai 9, 2016, 5:24 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/6 "2016-05-09T05:24:22Z")

</div>

It is extraordinarily rare for a user to self delete their account. Remember this is only allowed if the account is less than a few days old and has no more than one post.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [Mai 10, 2016, 2:43 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/7 "2016-05-10T14:43:20Z")

</div>

So I just attempted this on my sandbox and then on [try.discourse.org](http://try.discourse.org), and a modal window appears when you delete your account (with an OK) button, but the page is forcing a refresh/navigate to action that prevents you from being able to read the Modal or click the button…

It seems like there is a bug here, as that Modal should remain visible until the OK button is clicked.

 ![](https://global.discourse-cdn.com/meta/original/3X/e/4/e4cf5e928d9178d0134736d9083476e7990ca39b.gif)

---

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [Mai 11, 2016, 7:54 UTC](https://meta.discourse.org/t/404-page-after-user-deletes-account/43858/8 "2016-05-11T19:54:45Z")

</div>

I would propose redirecting the user to `/`. Maybe they found the content valuable but don’t want to be a member.
