Exclude pages from etc map

Avatar

Avatar

Dinu_Arya

Avatar

Dinu_Arya

Dinu_Arya

11-06-2018

Hi Team,

Is there any way to exclude some pages from /etc/map configuration so that I can get the full URL of the page but not the short URLs?

E.g.

Structure: /content/myproject/set1 and /content/myproject/set2

I don't want the pages under /content/myproject/set2 to be shortened.

Is it possible?

Please let me know.

Thanks,

AryA.

Replies

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

860

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

860
Arun_Patidar
MVP

12-06-2018

Hi,

Can you please explain with example what you want to achieve? What etc/mapping you've setup.

If you'll access page with full URL, it will work. why don't you expose set2 with full URLs if you need.

But there are way to achieve this kind of functionality

please check Apache Sling :: Mappings for Resource Resolution