1

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?

1
  • 1
    Check your Settings → Assets → your volume → Base URL
    – Oli
    Commented Sep 21, 2021 at 4:16

1 Answer 1

1

Oil was right. For images you need to change your baseUrl at Settings → Assets → your volume → Base URL

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.