I have set the redirect url property for an asset. Now when I author that asset on a page as a CTA or HREF, I want the page to show the redirect url value on hover of the link instead of the asset url authored.
I was reading through Apache Output Rewriting Pipelines as an prospective solution but I am finding very limited resources on it to understand the entire workflow and use case.
Need your help understand the best solution in this case.
How have you set the redirect url property for an asset?
You can build a custom transformer. Just like LinkRewriter, you can build your own rewriter that can replace all links with your custom logic. And for paths starting with /content/dam, write a logic to retrieve redirect url from metadata and replace the url with it.
Hope this helps.