url shortening not working etc/map aem 6.5 | Community
Skip to main content
sreedobe
Level 4
January 1, 2020

url shortening not working etc/map aem 6.5

  • January 1, 2020
  • 1 reply
  • 1656 views
^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 ?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
Community Advisor
January 2, 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?

Arun Patidar