# Hoe kan ik dynamische redirects gebruiken?

**URL:** <https://meta.discourse.org/t/how-can-i-use-dynamic-redirects/172952>\
**Category:** Self-hosting\
**Created:** [11 december 2020 om 07:06 UTC](https://meta.discourse.org/t/how-can-i-use-dynamic-redirects/172952 "2020-12-11T07:06:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![wilson29thid](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wilson29thid/32/173700_2.png) [@wilson29thid](https://meta.discourse.org/u/wilson29thid)\
**Post date:** [11 december 2020 om 07:06 UTC](https://meta.discourse.org/t/how-can-i-use-dynamic-redirects/172952/1 "2020-12-11T07:06:02Z")

</div>

I’m migrating from vanilla to discourse, and we’ve decided to start fresh rather than import 8 years of topics. The current site is `forums.29th.org`, so I figure when I’ve got discourse fully up and running I’ll make _discourse_ `forums.29th.org` and move vanilla to something else, like `vanilla.29th.org` (actually struggling to think of a good URL convention as we have several old forums at this point!)

So I’d like to redirect requests matching vanilla’s URL pattern to the other domain. This would be very easy with an nginx rule, but (a) I wanted to check whether it was possible to use a built-in feature of discourse, like Permalinks, and (b) if not, I wanted to ask how I’m meant to edit the nginx config the right way (it would be great if I could version control it too).

For conetxt, the vanilla topic URLs look like this:

```plaintext
/discussion/42206/example-topic#latest

```

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-use-dynamic-redirects/172952)._
