Exclude vanity URL from internal search Results

Avatar

Avatar

kazi_maidulh850

Avatar

kazi_maidulh850

kazi_maidulh850

31-05-2018

Hi,

We have configured our search using S&P. However, when we search a page which also has a vanity URL added to it, both the main URL and the vanity path is coming in the search results. Ideally this should not be the case. Like i Google search we hide the vanity URL from it. We want something similar for S&P too. Can someone please help with how we should configure it?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

pranavkaushik

Avatar

pranavkaushik

pranavkaushik

04-06-2018

Hi Kazi,

Below is the supporting doc which can help.

About Filtering Script

Also in order to build a specific script in regards to your business case i would recommend to get in touch with a adobe consultant.

Thanks

Answers (3)

Answers (3)

Avatar

Avatar

kazi_maidulh850

Avatar

kazi_maidulh850

kazi_maidulh850

04-06-2018

Thanks
Cheers!

Avatar

Avatar

pranavkaushik

Avatar

pranavkaushik

pranavkaushik

04-06-2018

Hi Kazi,

I think in  S&P you need filtering script to act on this.

Avatar

Avatar

kazi_maidulh850

Avatar

kazi_maidulh850

kazi_maidulh850

04-06-2018

Hi Pranav,

Thanks for your response.
However, I am more of an amateur. So can you please share any document where it's been provided how to do that?

Regards