redirect incoming requests | Community
Skip to main content
Keerthi0555
Level 5
November 12, 2023
Solved

redirect incoming requests

  • November 12, 2023
  • 1 reply
  • 466 views

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.

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 aanchal-sikka

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-functionality/m-p/305589/highlight/true#M32843

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
November 13, 2023

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-functionality/m-p/305589/highlight/true#M32843

Aanchal Sikka