What am I missing for this CQ5/AEM URL rewriting scenario?

后端 未结 2 1599
清酒与你
清酒与你 2021-01-24 05:10

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

2条回答
  •  遥遥无期
    2021-01-24 05:46

    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.

提交回复
热议问题