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
BedrockMission!

Learn More

View all

Sign in to view all badges

url shortening not working etc/map aem 6.5

Avatar

Avatar
Validate 1
Level 2
sreedobe
Level 2

Likes

4 likes

Total Posts

67 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
sreedobe
Level 2

Likes

4 likes

Total Posts

67 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
sreedobe
Level 2

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

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,260 likes

Total Posts

3,139 posts

Correct Reply

886 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,260 likes

Total Posts

3,139 posts

Correct Reply

886 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
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?