Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to do url shortening at the dispatcher level

amangoyal15
Level 3
Level 3

Hi All,

I need to remove www.abc.com/content/<app-name>/<locale> part from my URL to make it like  www.abc.com/locale.

I was reading about this there i got to know , there are two ways to achieve this -

1. At the AEM level (Resource Resolver Mapping and create node under /etc/map/http).

2. At the dispatcher level.

But If I go with the first one - In my component, if i am resolving fully qualified path to get its jcr:node properties, then that resolving will be broken 

So i am thinking , I should with the second one.

Firstly please suggest me if it would be feasible to achieve all at dispatcher level and also how to do this.

1 Accepted Solution
sandeepm744005
Correct answer by
Level 5
Level 5
1 Reply
sandeepm744005
Correct answer by
Level 5
Level 5