How to disable p_l_back_url= and p_l_back_url_title= parameters in the URL after clicking a search result

I’m facing a problem, where on my search page I have Search Results widget and after I click on a result, then it takes me to the wanted page, but p_l_back_url= and p_l_back_url_title= parameters get added to the URL, making the header bar with a back button appear on top of the page like so:

image
I would like this top bar to disappear. Please help me resolve my issue.

1 Answer

1

Hi @akos.illes

I am assuming you are using search result widget template.

When working with the Search Result Widget template, the FTL file gives you control over the viewUrl. This means you can strip out the default query attribute or add any custom parameters you require for your project.

Thanks
Priyank Gajera

Hi, thank you, using a template and removing parameters solved my problem.