Using Apache rewrite to configure dispatcher AEM

Avatar

Avatar
Validate 1
Level 3
alissonxavier01
Level 3

Likes

16 likes

Total Posts

36 posts

Correct reply

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

Avatar
Validate 1
Level 3
alissonxavier01
Level 3

Likes

16 likes

Total Posts

36 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
alissonxavier01
Level 3

04-10-2019

Hi Guys,

We have a new requirement in our projets to configure many URLs.

We must be able to parameterize at the URL level what the client does on screen, as well as
can have a specific URL of the different views (filters) that are available, here some
example:

Page:

DOMAIN/page1/

Page with the filter enabled:

DOMAIN/page1.new/

DOMAIN/page1.sales/

So we have the page1 in AEM but new is a parameter to use in the filter.

Does anyone have an idea like how we can do that?

Thanks a lot

Replies

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

04-10-2019

Avatar

Avatar
Validate 1
Level 3
alissonxavier01
Level 3

Likes

16 likes

Total Posts

36 posts

Correct reply

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

Avatar
Validate 1
Level 3
alissonxavier01
Level 3

Likes

16 likes

Total Posts

36 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
alissonxavier01
Level 3

04-10-2019

Hi JaideepBrar​,

We have a problem.

If the page there isn't in AEM the error is showed like this.

Do you have any idea?

Avatar

Avatar
Ignite 1
Level 2
albini65002106
Level 2

Likes

0 likes

Total Posts

7 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back
Affirm 3
Affirm 1
View profile

Avatar
Ignite 1
Level 2
albini65002106
Level 2

Likes

0 likes

Total Posts

7 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back
Affirm 3
Affirm 1
View profile
albini65002106
Level 2

04-10-2019

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,136 likes

Total Posts

3,167 posts

Correct reply

1,080 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,136 likes

Total Posts

3,167 posts

Correct reply

1,080 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

04-10-2019

You should consider to

* use the extension (I don't think that striping the .html extension has impact on SEO at all)

* use selectors (Apache Sling :: URL decomposition )

Jörg