Expand my Community achievements bar.

Adobe Aem - Rewrite Static Asset Urls

Avatar

Level 1

Hello,


I am currently working with Adobe AEM 6.5 in an on-premises environment and would like to find a way to modify the HTML of web pages to automatically replace the img:src, link:href, and script:src attributes. Specifically:

 

 

Could you please guide me on the best approach to implement this solution ?

 

Thank you in advance for your support.

1 Reply

Avatar

Level 9

Hi @RobertoLa3,

can you explain the purpose of this change? Why would you use absolute links? Relative links will work well in all AEM instances, with and without CDN.

 

Daniel