# URLs mapped to root domain instead of cdn and wrong url path

**URL:** https://meta.discourse.org/t/urls-mapped-to-root-domain-instead-of-cdn-and-wrong-url-path/144412
**Category:** Support
**Created:** [15 maart 2020 om 21:56 UTC](https://meta.discourse.org/t/urls-mapped-to-root-domain-instead-of-cdn-and-wrong-url-path/144412 "2020-03-15T21:56:17Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Wolftallemo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftallemo/32/289645_2.png) [@Wolftallemo](https://meta.discourse.org/u/Wolftallemo)
#### Post date: [15 maart 2020 om 21:56 UTC](https://meta.discourse.org/t/urls-mapped-to-root-domain-instead-of-cdn-and-wrong-url-path/144412/1 "2020-03-15T21:56:17Z")

</div>

When I added a cdn to the instance I operate, after rebaking all of the posts instead of pointing to the cdn, it pointed to [domain.com/cdn.domain.com/original/2X/image.png](http://domain.com/cdn.domain.com/original/2X/image.png)

After trying to fix it the urls by remapping they pointed to [domain.com/uploads/uploads/default](http://domain.com/uploads/uploads/default)

So what I am trying to do is at the very least point it back to /uploads/default or possibly to the cdn again if it won’t be pain and suffering all the way.

---

_[View the full topic](https://meta.discourse.org/t/urls-mapped-to-root-domain-instead-of-cdn-and-wrong-url-path/144412)._
