# Keep old site in place and have old links work within discourse?

**URL:** <https://meta.discourse.org/t/keep-old-site-in-place-and-have-old-links-work-within-discourse/304474>\
**Category:** Product Support\
**Created:** [April 18, 2024, 2:27pm UTC](https://meta.discourse.org/t/keep-old-site-in-place-and-have-old-links-work-within-discourse/304474 "2024-04-18T14:27:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dsims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dsims/32/485916_2.png) [@dsims](https://meta.discourse.org/u/dsims)\
**Post date:** [April 18, 2024, 2:27pm UTC](https://meta.discourse.org/t/keep-old-site-in-place-and-have-old-links-work-within-discourse/304474/1 "2024-04-18T14:27:58Z")

</div>

[As suggested](https://meta.discourse.org/t/archive-an-old-forum-in-place-to-start-a-new-discourse-forum/13433), I’m trying to keep my old forum(s) “in place” while using discourse on the same domain. I managed to get nginx to proxy and work around any conflicts with discourse urls so everything works great on an initial page load (and for SEO purposes).

My problem is with linking out to those old links within discourse. The discourse app routing intercepts those urls as internal links and thus `404`. I have tried numerous ways to get around this with the tools at hand but nothing works with urls or same-domain. (I also don’t want to put discourse in a subfolder)

If only I could add to the [SERVER\_SIDE\_ONLY](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/url.js#L19) array to mimic what I’m doing in nginx, that _should_ work. Anyone have any suggestions as to how to do this, or something else?

---

_[View the full topic](https://meta.discourse.org/t/keep-old-site-in-place-and-have-old-links-work-within-discourse/304474)._
