Vanity URL is not skipping Dispatcher rewrites
Trying to implement Vanity URLs in my project. Tried both the dispatcher recommended vanity url approach and ACS commons vanity error mapping approach as well.
For dispatcher recommended vanity url approach - The vanity URL configs in dispatcher is not getting picked up properly since the rewrite configs are executed after that and the rewrite rules are not getting skipped
For ACS commons vanity error mapping approach - Since the URL is passing to publisher with the content tree prefix as per the rewrite rules in dispatcher, the VanityURLServiceImpl is failing to dispatch to the URL eventhough the resource resolution is correct as per JCR resolver.
Is there a way for the vanity URL being skipped as part of the rewrite rules in dispatcher. Have been trying to resolve this for the past 2 to 3 days but no luck. Please help me if I am missing something regarding the same.