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

AEM SPA | URL shortening

sandrateixeira
Level 1
Level 1

Hey

Its is possible to have URL shortening in a react SPA?

Do I need to active some configuration or do something in the dispatcher?

6 Replies
berliant
Employee
Employee

The best practice is to shorten (rewrite) URL at a dispatcher /HTTPD level.

lmha
Employee
Employee

Hi Sandrateixeira,

Currently, it is a known limitation that AEM SPA Editor does not have the ability to perform URL shortening -- refer to [1].  I did not find a timeline/roadmap for the implementation of this feature, however, if it is released, the SPA documentation will be updated accordingly.

Regards,

Lisa

[1] SPA Editor Overview

ksuayan_shc
Level 2
Level 2

Seems like a pretty important use case that should have been covered.

nasrinj31078225
Level 2
Level 2

Is there any update on this? If we can do URL shortening with AEM SPA editor using dispatcher rewrite rule? 

Jörg_Hoh
Employee
Employee

When you own the model classes, you can implement logic to rewrite the repository paths accordingly. Should not be a big problem, and much safer than a heuristic provided by AEM itself (like the link rewriter).

Jörg