Mod rewrite examples for the img=src | Community
Skip to main content
Umamaheswari_Yakkala
Community Advisor
Community Advisor
July 5, 2018
Solved

Mod rewrite examples for the img=src

  • July 5, 2018
  • 4 replies
  • 1399 views

Hi Team,

This is first time I am dealing with the shortening URLs or resolving URLs etc.

I am planning to shortening the img =src URLS , Please guide me with few examples how to do it.

Thanks In Advance

Uma

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Peter_Puzanovs

Hi Uma,

Please have a look at below guides that tells you how to create a custom link rewriter[1][2]

[1] AEM 6- Create custom Link Rewriter (Pipeline)

[2] Adobe Experience Manager Help | Creating a Link Rewriter for Adobe Experience Manager

Regards,

Peter

4 replies

Peter_Puzanovs
Community Advisor
Community Advisor
July 5, 2018

Hi Uma,

Sorry not sure, why you mention Mod rewrite, as it's Apache system that handles input of url's assume you need help with Publisher Java code that shortens url's for Dispatcher:

Publisher code depends, on how many links you want to shorten and in which way.(Depending on volume and complexity it might be OOTB or totally custom)

You get LinkChecker system that you can use to change any xml(html) attribute name as you desire which is really nice as it relies on core java lib.(means it's fast).

OOTB mapping logic is good too right?

Regards,

Peter

Umamaheswari_Yakkala
Community Advisor
Community Advisor
July 6, 2018

Hi Peter,

Thanks for the reply , I am ok with either solution.

I am hearing so many solutions like mod-rewrite and link transformations and etc etc but not getting exact answer for me.

If you don't mind can you please guide me how to achieve by using the link checker.

That would be great.

Thanks

Uma

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
July 6, 2018

Hi Uma,

Please have a look at below guides that tells you how to create a custom link rewriter[1][2]

[1] AEM 6- Create custom Link Rewriter (Pipeline)

[2] Adobe Experience Manager Help | Creating a Link Rewriter for Adobe Experience Manager

Regards,

Peter

smacdonald2008
Level 10
July 9, 2018

Nice response Peter!