I basically want short URLs to get resolved and HTML pages to be generated with short URLs for a CQ5 website. So far short URLs are getting mapped to long URLs as expected, but
By default, CQ rewrites links in a
, area
and form
tags. If you'd like to rewrite also paths in script
tag, open OSGi configuration for LinkCheckerTransformerFactory
service on publish and add following string to the Rewrite Elements option:
script:src
BTW: /content
is not the best place for storing clientlibs. Usually we put this stuff in /etc/designs/YOUR_APP
.