Recent searches
No recent searches
Can you customize the "searches with no results" page?
Answered
Posted Apr 05, 2023
If someone searches in our Help Center and doesn't get a result, they currently see text that says:
"Try searching another keyword. Browse Help Center"
Is it possible to customize what appears on that page? I'm not sure how to find that code to edit it. Any insights are appreciated. Thank you!
1
2
2 comments
Ollie
Hey
We created an article for not found that contained information and then added this to the script.js. We could then add our own content to it. It required being at the top of the script.js and we use a custom marketplace template.
$(document).ready(function() {
if ( window.location.href.indexOf('articles') > -1 && $(".not-found").length > 0 ) {
window.location.href = 'New Article URL';
}
Hope this helps.
0
Brett Bowser
0