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.
Ive migrated my site. Im still developing locally but on a new computer. My images are no longer showing up on the page or when I edit the page.
In the editor the path is this format:
/old-site-folder-name-10/sites/default/files/image.jpg
However on the page its this:
http://localhost:8888/new-site-folder-name/10/sites/default/files/image.jpg
With pathologic ive set 'All base paths for this site' as:
/old-site-folder-name-10
Why isnt this working? I know that migrating the site can cause issues with the file path changing, but i thought this could be fixed with Pathologic. Thanks
Comments
Comment #1
jdln CreditAttribution: jdln commentedIf I set pathologics 'All base paths for this site' to:
/old-site-folder-name-10/
Then when viewing the node it works fine, but the editor has the wrong path and so no thumbnail.
Comment #2
kerios83 CreditAttribution: kerios83 commentedI have similar problem, after moving my site to localhost and change prefix with WWW. IMCE images are working fine but images inserted via INSERT modules are not displayed. Any ideas how to fix this ?
I did create a virtual xampp serwer so link to the page looks exactly the same but its now with www prefix so I can easily test changes on localhost (www.mypage.com) and improve my live page (mypage.com).
Comment #3
Snater CreditAttribution: Snater commentedhttps://www.drupal.org/node/2401417