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
We finally managed to pinpoint the issue and fix this.
Somebody had added a com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl.xml
under /apps/myapp/config.publish
with the following content:
I think the combination of check_override_patterns
and special_link_patterns
had disabled link shortening.
Removing this file made link shortening work again.