Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I've migrated a website from my local system, to the online-webserver. Now the path to my images is wrong. Instead of /sites/default/files/my_image.jpg, the path is /local_folder/sites/default/files/my_image.jpg. The cache is flushed and there are no errors at admin/settings/file-system. Has anybody an idea for solving that? Thanks in front!
- j
Comments
Comment #1
charlie-s CreditAttribution: charlie-s commentedis the *actual file path* /local_folder/sites/.... or is that what is being reported at admin/settings/file-system? Whatever it is, they must both be the same thing for this to work properly.
Comment #2
ufku CreditAttribution: ufku commentedThis is expected as they are hardcoded paths. You should manually change them.