Example link http://localhost/foo/de/sites/default/files/content/basic_page/93/foo10.jpg

Pathologic is configured as last filter, with relative links and cache has been cleared several times. I moved the DB from live /sites/default/files/content/basic_page/93/foo10.jpg to my DEV box. Now on DEV the site is located in a subdirectory.

All /sites/ links are not corrected.

Comments

Garrett Albright’s picture

In your example, is http://localhost/foo the base URL of the Drupal installation?

Do you think that your problem is related to #1849200: Pathologic adds language prefixes to files when all languages have language prefix ?

hass’s picture

Yes, http://localhost/foo is the base URL.

I've seen your releases, but have not tried 2.10. It sounds a related, but not sure if a duplicate.

Garrett Albright’s picture

Status: Active » Closed (duplicate)

Well, I'm pretty sure it's the same - Pathologic is failing to detect that you're linking to a file for whatever reason and is therefore failing to build a URL without a language. So I'm going to go ahead and close this one as a duplicate. But if you get any indication that you've got a different issue, feel free to reopen it.