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

url shortening not working etc/map aem 6.5

sreedobe
Level 4
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
Arun_Patidar
Community Advisor
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?