Expand my Community achievements bar.

SOLVED

How to do url shortening at the dispatcher level

Avatar

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

Avatar

Correct answer by
Level 5
1 Reply

Avatar

Correct answer by
Level 5