We have a Custom Filter code, which crawls the Page response and replaces a text.
This is working fine, but this code is overriding RewriteFilter class. Because of that, long-short url conversion is not happening.
If we give a higher Ranking to the Custom Filter, everything works fine. But we need to find a solution to this issue other than providing Ranking. Any pointers to this will help lot.
If you just want to replace the content, you can use sling output rewriter
Is it possible to share ur code?