Search OOTB Component should not redirect results to /content/<Project-Name>/us/en | Community
Skip to main content
August 17, 2021
Solved

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

  • August 17, 2021
  • 2 replies
  • 699 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

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-shortening---aem-6-.html

2 replies

Asutosh_Jena_
Community Advisor
Community Advisor
August 17, 2021

Hi @venkateshk1 

 

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

 

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
December 4, 2023

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-shortening---aem-6-.html

Aanchal Sikka