Expand my Community achievements bar.

Enable URL Shortening for links in OOTB Services/Servlet and Sling Exporters

Avatar

Level 2

11/9/22

Request for Feature Enhancement (RFE) Summary: The OOTB Services and Servlet responses does not take care of link mapping for outbound URLs. As result of which , components such as Search Suggest and Search Results , Sling Model Exporters still contain long URLs . There should be some Link Rewriter Transformers or sling filters written for such cases to pass through these URLs via ResourceResolver.map(String resourcePath) . 
Use-case: SEO Improvements - Hide /content/project-name from Search results
Current/Experienced Behavior: The URLs returned contain long URLS like /content/project-name/
Improved/Expected Behavior: The URLs should be rewritten using some transformer or link rewriter or Sling Filter before returning response back 
Environment Details (AEM version/service pack, any other specifics if applicable): AEMaaCS 
Customer-name/Organization name: ODFL / Publicis Sapient
Screenshot (if applicable): PriyankaBiswal_0-1667998318971.png

 

Code package (if applicable):

The Above example uses below OOTB Servlet , 

com.adobe.cq.wcm.core.components.internal.servlets.SearchResultServlet

2 Comments

Avatar

Administrator

11/16/22

@PriyankaBiswal 

Thanks for proposing this idea

This has been reported to the engineering under the internal reference SITES-9533/GRANITE-43121. The product team will triage this request to verify feasibility based on the prioritization model. This post will be updated according to the Jira request status.

Status changed to: Investigating