Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

url shortening not working etc/map aem 6.5

Avatar

Level 4
^http/site1.com.80/(.*)/book/(.*)/content/site1/$1/booking-path/$2
/$1/book/$2

 

above are sling match, sling internal redirect values.

 

when I do 

http://site1.com/en_US/book/search

it resolved to /content/site1/en_US/booking-path/search

 

But when I do and use map :

/content/site1/en_US/booking-path/search not "mapping" to /en_US/book/search

 

any help ?

 

1 Reply

Avatar

Community Advisor

hi,

what do you mean by below e.g not mapping to 

/content/site1/en_US/booking-path/search not "mapping" to /en_US/book/search

Are you trying to access /content/site1/en_US/booking-path/search and expecting URL to change /en_US/book/search?

or you are expecting reverse mapping here, where the page URLs automatically get shorten?



Arun Patidar