Handling of Sling url selector and suffix | Community
Skip to main content
New Participant
Mar 9, 2021 4:15 AM UTC
Solved

Handling of Sling url selector and suffix

Hi. For example I have a path /en/example.html

At publisher
When there is selector and suffix added to a url and become /en/example.1.html/test.html

The node is resolvable (from recent request) but empty page is shown

 

This happens on the React SPA of WKND Guide.

I also tried on we.retail and seems working correctly, /content/we-retail/us/en.1.html/test.html  can show the content /content/we-retail/us/en.html 

 

How should selector and suffix be handled correctly? Actually would like to handle unknown selector and suffix as 404 content

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

6 replies

Anudeep_Garnepudi
New Participant
Mar 9, 2021 2:51 PM UTC
New Participant
Mar 10, 2021 3:03 AM UTC

Thanks for your reply. I have read this before, but what I need is the way to handle url selector and suffix on React SPA

Translate
New Participant
Oct 14, 2022 1:47 PM UTC

Can you share any solution to the above problem , if you have found one.

Translate
New Participant
Mar 9, 2021 6:09 AM UTC

These links are talking about the sling resolution on JSP page components. But how about the case of React SPA? Cannot find any article about selector and suffix handling on React SPA

Translate