Add ability for pathologic to work when changing to a different path within the same domain.

For the site in question, the staging version is on a different path to the live version, but shares the same domain. e.g. http://intranet/ and http://intranet/development/

Currently pathologic will ignore these URLs because the domains are a match. It would seem to be easy to remove this check, but will that have other knock-on effects?

Comments

Garrett Albright’s picture

Pathologic will look through paths in the order they're entered, so if you're having things not work as expected when you have http://intranet/ and http://intranet/development/ in the "local paths" field, try reversing the order - put http://intranet/development/ before http://intranet/.

Having one Drupal installation be in a subdirectory of another is sort of a silly idea… but Pathologic shouldn't have a problem with it if you order the local paths correctly.

Garrett Albright’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Closing for now. Please reopen if it's still an issue.