Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

redirect incoming requests

Avatar

Level 6

Hi Team,

 

 I have path as /content/site/us but in publish instance it's redirecting direclty to /us instead of from /content/site/us, so how to redirect incoming reuqests in dispatcher, I need some help on this one.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @Keerthi0555 

 

Please cross-check, if you have a configuration for "Apache Sling Resource Resolver Factory" for publish env. It would shorten the URLs in AEM instance itsef. The details are available here:

https://blog.3sharecorp.com/shortening-urls-in-aem

 

To shorten URLs on dispatcher, you would need to write rewrite rules.

 

If case you are interested in understanding the pros and cons of various approaches: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-url-shortening-functio...


Aanchal Sikka

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hello @Keerthi0555 

 

Please cross-check, if you have a configuration for "Apache Sling Resource Resolver Factory" for publish env. It would shorten the URLs in AEM instance itsef. The details are available here:

https://blog.3sharecorp.com/shortening-urls-in-aem

 

To shorten URLs on dispatcher, you would need to write rewrite rules.

 

If case you are interested in understanding the pros and cons of various approaches: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-url-shortening-functio...


Aanchal Sikka