# Redirect a deleted topic to another topic?

**URL:** https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400
**Category:** Support
**Created:** [September 28, 2023, 9:19am UTC](https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400 "2023-09-28T09:19:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![janbolmeson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janbolmeson/32/192162_2.png) [@janbolmeson](https://meta.discourse.org/u/janbolmeson)
#### Post date: [September 28, 2023, 9:19am UTC](https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400/1 "2023-09-28T09:19:27Z")

</div>

Is it possible to redirect a deleted topic so that the user gets to another page instead to the missing page-view?

e.g. `t/xxx` to `t/yyy`

I have tried the redirect function but it doesn’t seem to work (although it works for redirecting a deleted category to a tag). I.e.

`c/66` to eg. category\_id `2` works.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 28, 2023, 9:38am UTC](https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400/2 "2023-09-28T09:38:09Z")

</div>

Did you test the redirect using a test user or as your admin account? The admin would have access to the deleted topic so would land on that, but a regular user should follow the redirect you’ve set up in permalinks. 🤞

---

<div class="post-metadata">

### Author: ![janbolmeson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janbolmeson/32/192162_2.png) [@janbolmeson](https://meta.discourse.org/u/janbolmeson)
#### Post date: [September 28, 2023, 9:49am UTC](https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400/3 "2023-09-28T09:49:02Z")

</div>

Thanks!

Tested as not logged user - ends up in the “Page not found”-view.

Admin - ends up like you say on the deleted topic.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 28, 2023, 10:42am UTC](https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400/4 "2023-09-28T10:42:12Z")

</div>

If you add the redirect in this format it should work:

 ![redirect](https://global.discourse-cdn.com/meta/original/4X/0/8/3/08395cec98de627a8f6fd19d771d757709f74978.png)

---

<div class="post-metadata">

### Author: ![janbolmeson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janbolmeson/32/192162_2.png) [@janbolmeson](https://meta.discourse.org/u/janbolmeson)
#### Post date: [September 28, 2023, 12:30pm UTC](https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400/5 "2023-09-28T12:30:53Z")

</div>

Hmm… Couldn’t get it to work… But then I found out something strange - it seems that Chrome caches redirects? Because when I changed browser then it seems to work… investigating some more…

OK! Figured it out.

If the topic is in a private / non-public category, then redirects seem to be “stopped”. When I moved the deleted topic back to the public category and deleted it from there, then redirect worked…

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 6, 2023, 9:27pm UTC](https://meta.discourse.org/t/redirect-a-deleted-topic-to-another-topic/280400/6 "2023-11-06T21:27:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
