# Do uploaded files use absolute links?

**URL:** <https://meta.discourse.org/t/do-uploaded-files-use-absolute-links/11920>\
**Category:** Product Support\
**Created:** [13. Januar 2014 um 11:11 UTC](https://meta.discourse.org/t/do-uploaded-files-use-absolute-links/11920 "2014-01-13T11:11:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Maomao](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maomao/32/16877_2.png) [@Maomao](https://meta.discourse.org/u/Maomao)\
**Post date:** [13. Januar 2014 um 11:11 UTC](https://meta.discourse.org/t/do-uploaded-files-use-absolute-links/11920/1 "2014-01-13T11:11:40Z")

</div>

When I change my Discourse forum’s host, for instance rename the subdomain, uploaded files stop working. We’re still just testing so the only uploaded files are some avatars, which have now gone missing twice. I found the avatar link in the HTML source:

```
 PreloadStore.store("topic_list",{"users":[{"id":2,"username":"<some_user_name>","avatar_template":"//<old_forum_address>/uploads/default/avatars/xxx/xxx/xxxxxxxxxx/{size}.jpg"},

```

I have already updated the host address both in `config/discourse.conf` and in the forum settings, so I’m wondering if these links are stored with absolute URLs. Is there a way to update these links to use the new hostname? Am I just missing a setting somewhere?

It’s not a big deal in my case, just thought it was interesting and good to note.

---

_[View the full topic](https://meta.discourse.org/t/do-uploaded-files-use-absolute-links/11920)._
