I am using language selection by language domain in Drupal 7. That has the side effect, that all internal Drupal paths being created as absolute paths by the i18n module.
To get sub-domains working again I want to alter the paths that are translated by i18n. Is there a hook I could use for that?
The function *hook_url_outbound_alter()* is triggered before the path translation by i18n, so it can't be used for that purpose.