Highlighted

url shortening not working etc/map aem 6.5

Avatar

Avatar

sreedobe

Avatar

sreedobe

sreedobe

31-12-2019

^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 ?

 

Replies

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820
Arun_Patidar
MVP

02-01-2020

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?