Answers.Body: <p>Oil was right. For images you need to change your baseUrl at Settings → Assets → <em>your volume</em> → Base URL</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-21T15:53:36.337Z
Answers.LastActivityDate: 2021-09-21T15:53:36.337Z
Answers.UserDisplayName: Jonathan Schiffner
Body: <p>I just moved my old craft site to a subdomain. I changed it in the general settings, in the config/general.php file and in the .env file.</p>
  <p>Everything works except for <code>.getUrl()</code>. This still returns the old domain and therefore no pictures are loading. Here is my example: <a href="https://historie.christlicher-gesundheitskongress.de/" rel="nofollow noreferrer">https://historie.christlicher-gesundheitskongress.de/</a></p>
  <p>Where does the <code>.getUrl()</code> come from?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-21T04:16:22.193Z
Comments.Text: Check your Settings → Assets → _your volume_ → Base URL
Comments.UserDisplayName: Oli
Tags: <siteurl>
Title: getUrl returning wrong url after site move to subdomain
ThreadText: # getUrl returning wrong url after site move to subdomain
  
  (Asked by: username_0 on 2021-09-20)
  
  I just moved my old craft site to a subdomain. I changed it in the general settings, in the config/general.php file and in the .env file.
  
  Everything works except for `.getUrl()`. This still returns the old domain and therefore no pictures are loading. Here is my example: <https://historie.christlicher-gesundheitskongress.de/>
  
  Where does the `.getUrl()` come from?
  
  **Tags:** siteurl
  
  > **Comments:**
  > **username_1**: Check your Settings → Assets → _your volume_ → Base URL  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-09-21. Score: 1
  
  Oil was right. For images you need to change your baseUrl at Settings → Assets → *your volume* → Base URL
  
  
  ---
  
  