# Domain missing from some requests after migration from subfolder back to subdomain

**URL:** <https://meta.discourse.org/t/domain-missing-from-some-requests-after-migration-from-subfolder-back-to-subdomain/253556>\
**Category:** Support\
**Tags:** subfolder\
**Created:** [January 31, 2023, 6:42pm UTC](https://meta.discourse.org/t/domain-missing-from-some-requests-after-migration-from-subfolder-back-to-subdomain/253556 "2023-01-31T18:42:27Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Magnetidog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/magnetidog/32/116910_2.png) [@Magnetidog](https://meta.discourse.org/u/Magnetidog)\
**Post date:** [February 12, 2023, 3:18am UTC](https://meta.discourse.org/t/domain-missing-from-some-requests-after-migration-from-subfolder-back-to-subdomain/253556/9 "2023-02-12T03:18:31Z")

</div>

I think I fixed it - all I had to do was a remap; not sure how that wrong URL was there in the first place, as the error appeared after a rebuild that was not done by me.

Anyhow, this is what I did to fix this:

```plaintext
> ./launcher enter app
> discourse remap //theme-javascripts /theme-javascripts
> Rewriting all occurrences of //theme-javascripts to /theme-javascripts
> THIS TASK WILL REWRITE DATA, ARE YOU SURE (type YES)
> YES
> theme_fields=4
> Done

```

Hope this helps somebody else in the future.

---

_[View the full topic](https://meta.discourse.org/t/domain-missing-from-some-requests-after-migration-from-subfolder-back-to-subdomain/253556)._
