Here's how I'm using pathologic (version 6.x-3.2):

Site hosted under sub-directory: http://foobar.com/drupal-test
Internal URL links are entered in and stored in the db as relative, like "/node/51". Pathologic rewrites these to http://foobar.com/drupal-test/node/51, which is correct.

For news nodes:

When viewing a news item on the main page with a link like "/node/51", the URL generated is http://foobar.com/node/51, so the sub-directory is missing, which is not correct. However, if you view the news item stand-alone (i.e. not on the main page, but look at the node directly) then the pathologic URL rewriting works correctly.

For announcement nodes:

Relative URLs like "/node/51" are rewritten to https://research.uiowa.edu/drupal-test/drupal-test/node/51, so the sub-dir is listed twice, which is not correct. This also happens if you view the announcement stand alone (i.e. not on the main page, but by accessing the node directly).

Please let me know if you'd like more information or if you'd like me to try/test anything. This module has been really helpful.

Comments

Garrett Albright’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closing this ancient issue. Feel free to reopen if this is still a problem (though hopefully you're using Drupal 7 by this point).