# Message page doesn't exist

**URL:** https://meta.discourse.org/t/message-page-doesnt-exist/155918
**Category:** Support
**Created:** [June 25, 2020, 2:49pm UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918 "2020-06-25T14:49:58Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Peter\_Steele](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peter_steele/32/137604_2.png) [@Peter\_Steele](https://meta.discourse.org/u/Peter_Steele)
#### Post date: [June 25, 2020, 2:49pm UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918/1 "2020-06-25T14:49:58Z")

</div>

When going to [Login | HSTS Redirection Community](http://site.com/u/username/messages) I get redirected to 404 page. Private messages seem to be enabled but the page doesn’t load. Is there anything extra I need to enable access?

The exact error on the page is

# Oops! That page doesn’t exist or is private.

---

<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: [June 25, 2020, 5:32pm UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918/2 "2020-06-25T17:32:55Z")

</div>

Are you logged in as a valid user with access to that page?

---

<div class="post-metadata">

### Author: ![Peter\_Steele](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peter_steele/32/137604_2.png) [@Peter\_Steele](https://meta.discourse.org/u/Peter_Steele)
#### Post date: [June 25, 2020, 6:06pm UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918/3 "2020-06-25T18:06:47Z")

</div>

Yes, I’m logged in as a normal use and admin, both don’t work

---

<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: [June 25, 2020, 6:31pm UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918/4 "2020-06-25T18:31:26Z")

</div>

Do you have any third party plugins installed? Have you tried in [safe mode](https://meta.discourse.org/t/53504?silent=true)?

---

<div class="post-metadata">

### Author: ![Peter\_Steele](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peter_steele/32/137604_2.png) [@Peter\_Steele](https://meta.discourse.org/u/Peter_Steele)
#### Post date: [June 25, 2020, 6:46pm UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918/5 "2020-06-25T18:46:49Z")

</div>

It’s a fresh install with no plugins. Haven’t tried in [safe mode](https://meta.discourse.org/t/53504?silent=true).

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [June 25, 2020, 7:09pm UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918/6 "2020-06-25T19:09:57Z")

</div>

What about if you visit: `https://yoursitename.com/my/messages` ?

---

<div class="post-metadata">

### Author: ![Peter\_Steele](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peter_steele/32/137604_2.png) [@Peter\_Steele](https://meta.discourse.org/u/Peter_Steele)
#### Post date: [June 27, 2020, 11:47am UTC](https://meta.discourse.org/t/message-page-doesnt-exist/155918/7 "2020-06-27T11:47:42Z")

</div>

Problem solved, turns out discourse tries to get a JSON file from topics/private-messages/(user).JSON and I had a rewrite from imported forum to re write /topic/ to /t/. Is there a way have this file stored somewhere else so that it works and I can rewrite old forum links too?
