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.