I have a recurrent problem I can't solve.
when working in localhost I use ckeditor to upload images to the body field. These images are shown correctly.
Then after, I upload the site to the remote host and all those images links are broken.
The problem is that the drupal installation on my localhost is inside a folder in localhost like: http://localhost/mysite.com/
In the remote host all the images links have the mysite.com
part of the url which of course is wrong. This is not solved by clearing caches.
Localhost (works fine)
http://localhost/mysite.com/sites/default/files/resize/icon-questions-180x127.png
Remote (with the wrong "mysite.com")
http://mysite.dde.oneserver.com/mysite.com/sites/default/files/resize/icon-questions-180x127.png
With no luck I tried with several configurations at: admin/config/content/ckeditor/edit/Full
UPDATE (trying with Pathologic module)
I added these lines in "All base paths for this site" in Pathologic setting at admin/config/content/formats/full_html
:
http://localhost/mysite.com/ (this one is where the site was developed)
http://mysite.dde.oneserver.com (this one is where the site lives now)
I ALSO tried adding:
http://mysite.dde.oneserver.com/mysite.com
look the capture:
/mysite.com/sites/default/files…
? If so, try putting/mysite.com/
in the "All base paths for this site" field.