Skip to main content
New Participant
September 24, 2019

AEM SPA | URL shortening

  • September 24, 2019
  • 6 replies
  • 4960 views

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?

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

6 replies

joerghoh
Employee
September 25, 2019

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

New Participant
November 2, 2020

Any example ?

Employee
September 24, 2019

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

New Participant
September 25, 2019

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

Employee
September 24, 2019

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