Handling of Sling url selector and suffix | Community
Skip to main content
March 9, 2021
Solved

Handling of Sling url selector and suffix

  • March 9, 2021
  • 2 replies
  • 3768 views

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.

2 replies

March 9, 2021

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

Anudeep_Garnepudi
Community Advisor
Community Advisor
March 9, 2021
March 10, 2021

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

October 14, 2022

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