Shorten the DAM URL (DAM Resource Resolver) | Community
Skip to main content
ykumarreddy
Level 2
November 9, 2016
Solved

Shorten the DAM URL (DAM Resource Resolver)

  • November 9, 2016
  • 3 replies
  • 3760 views

My requirement is :  We have multiple country sites for our company(nearly 103 different country site). When it comes to Assets, business wants to maintain only 9 regions like en, fr, es, ko, jp....,      

the assets path  in dam look like, "content/dam/xxx/collaterals/en/analysit-reports/a.pdf" , "content/dam/xxx/collaterals/en/analysit-reports/a.pdf" "content/dam/xxx/collaterals/es/analysit-reports/a.pdf" "content/dam/xxx/collaterals/fr/analysit-reports/a.pdf".

 

Where as in html page we want place the link like for US site "en-us/analysit-reports/a.pdf" for France site "fr-fr/analysit-reports/a.pdf" to match actual site structure. .

The US site asset link should mach en-us/analysit-reports/a.pdf -> content/dam/xxx/collaterals/en/analysit-reports/a.pdf and fr-fr/analysit-reports/a.pdf -> content/dam/xxx/collaterals/fr/analysit-reports/a.pdf and so on....

 

Based on my java knowledge the  I tried to implement filter, when request match used the RequestDispatcher with new location, but I am getting blank pdf page instead of actual page content.  

 

Could someone help me what are the other options to resolve this issue.

 

Thanks in advance.

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 mvanceadobe

to clarify: did you try the options under here?

https://docs.adobe.com/docs/en/aem/6-2/manage/seo-and-url-management.html

Another way would be to add “sling:vanityPath” property to the property node of the image, but this is not exposed in the UI, to my knowledge.

So you would need to customise the screen so that the end user could modify this value.

Or if you want to control it a different way, write an app which updates the jcr directly

3 replies

mvanceadobeAdobe EmployeeAccepted solution
Adobe Employee
November 9, 2016

to clarify: did you try the options under here?

https://docs.adobe.com/docs/en/aem/6-2/manage/seo-and-url-management.html

Another way would be to add “sling:vanityPath” property to the property node of the image, but this is not exposed in the UI, to my knowledge.

So you would need to customise the screen so that the end user could modify this value.

Or if you want to control it a different way, write an app which updates the jcr directly

ykumarreddy
Level 2
November 9, 2016

Thanks for your suggestion.  I'll try these options.

Adobe Employee
November 11, 2016