Page Not Found
This demo is a Smart 404 page. The URL /beef-burgers doesn't exist, so Site Search 360 takes the words from the URL path and shows results for beef burgers below. View the ss360Config to check the configuration.
smart404.identifieris text in the page title that marks a 404 page, here Page not found. UsecssIdentifierinstead to detect the page by an element.smart404.resultSelectoris the CSS selector of the block where the results are shown.smart404.captionis the heading above the results.
See Smart 404 for the setup guide.
window.ss360Config = {
siteId: 'spoonacular.com', /* Replace with your site id */
searchBox: {
selector: '#searchBox' /* Replace with the css selector of your search box */
},
smart404: {
caption: 'We couldn\'t find what you were looking for but these results might help',
identifier: 'page not found',
resultSelector: '#ss360-404'
}
};
{"siteId":"spoonacular.com","searchBox":{"selector":"#searchBox"},"smart404":{"caption":"We couldn't find what you were looking for but these results might help","identifier":"page not found","resultSelector":"#ss360-404"}}