# Links broken after move

**URL:** https://meta.discourse.org/t/links-broken-after-move/135913
**Category:** Self-hosting
**Created:** [December 14, 2019, 1:33am UTC](https://meta.discourse.org/t/links-broken-after-move/135913 "2019-12-14T01:33:12Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [December 14, 2019, 1:52am UTC](https://meta.discourse.org/t/links-broken-after-move/135913/4 "2019-12-14T01:52:20Z")

</div>

So you’re saying the remap and/or rebake failed?

> [@Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-your-discourse/16098/1):
>
> ### Replace all instances of the old name with the new name in posts
> 
> All the existing posts will still refer to the old domain. Let’s fix that:
> 
> ```plaintext
> ./launcher enter app
> discourse remap talk.foo.com talk.bar.com
> rake posts:rebake
> 
> ```
> 
> This remaps text in posts from the old URL to the new URL, then regenerates all posts just in case.

---

_[View the full topic](https://meta.discourse.org/t/links-broken-after-move/135913)._
