Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

Search OOTB Component should not redirect results to /content/<Project-Name>/us/en

Avatar

Level 1

I am using OOTB search Component. It is showing search results which redirects to /content/<project-Name>/us/en/ but I need it to redirect to /us/en/ without /content/<project-name>. Please pour in with your suggestions. I am using AEM as Cloud Service.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You need to implement URL shortening to achieve the same.

 

Option-1: Implement "Resource Resolver Factory Config" as @Asutosh_Jena_  suggested.

Option-2: Use "Sling Mappings engine". It is a recommended approach

 

https://helpx.adobe.com/in/experience-manager/kb/multi-domain-management-aem-mappings-for-url-shorte...


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @VenkateshK1 

 

Have you added the below configuration under "Resource Resolver Factory Config"?

asutosh_jena_0-1629203600935.png

 

Avatar

Correct answer by
Community Advisor

You need to implement URL shortening to achieve the same.

 

Option-1: Implement "Resource Resolver Factory Config" as @Asutosh_Jena_  suggested.

Option-2: Use "Sling Mappings engine". It is a recommended approach

 

https://helpx.adobe.com/in/experience-manager/kb/multi-domain-management-aem-mappings-for-url-shorte...


Aanchal Sikka