I have installed the following modules:

  • Pathologic
  • Advanced Aggregation

I implemented hook_link_alter() where I set $variables['options']['absolute'] = TRUE;.

This helped with fixing:

  1. All links within text formats using input filter
  2. Javascript and CSS file paths
  3. Menu link paths

However, this does not help with Image Style paths or custom text generated by the Views module.

Is there a way to do this on a global basis instead of chasing down every single link generation method and altering it?

I also looked into an Existing issue, but unfortunately it didn't help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.