rickferens Posted July 28, 2019 Share Posted July 28, 2019 (edited) Hello, Is there a way to configure Squarespace's site-wide search (internal, not search engine) so that a visitor does not see results from selected pages that I wish to exclude? These would most likely include normal pages that are inside of an index page or folder. I know I can use a search block on a page and direct it to search a specific collection, but instead wish to use the header search from Brine to search many pages of the site. Thanks for any help! Edited July 28, 2019 by rickferens Initial Revision Link to comment
paul2009 Posted July 29, 2019 Share Posted July 29, 2019 You can remove certain result types, like images but you cannot exclude selected pages. This is a long-requested feature but it is sadly not possible yet. You can add your voice to these requests by logging a support ticket with Squarespace Customer Care. You can reach out to them here. -Paul Squarespace Expert & Professional Developer About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
rickferens Posted July 29, 2019 Author Share Posted July 29, 2019 Thanks Paul, This is what I had anticipated given the evidence I've found so far. The pages we wanted to exclude are built with accordion-style markdown blocks that include dozens of listings each which go to external urls or allow a pdf download. A search returned results to one or more of those pages with no marker for where the search terms appear on the page. Our solution is to build out a page for each individual listing in the accordion-style markdown blocks. Then creatively name the accordion block pages we wanted to exclude from search to hopefully improve the search results. They will appear at the bottom of the results list and then, if clicked, would circle the visitor back to the resource library alphabetical main pages. Thanks again Link to comment
deandra.olivieri Posted April 22, 2020 Share Posted April 22, 2020 Wondering if there's a way to hide folders from the search. The goal I'm trying to achieve is for the search to only show products in the results. Thanks in advance! D Link to comment
paul2009 Posted April 22, 2020 Share Posted April 22, 2020 2 hours ago, deandra.olivieri said: The goal I'm trying to achieve is for the search to only show products in the results. If you use a Search Block you can choose to limit results to a specific collection, such as a Products page. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
deandra.olivieri Posted April 22, 2020 Share Posted April 22, 2020 Hi Paul, thanks for this! I'm trying to work with the search bar that's in the site's navigation. Is this possible? Link to comment
paul2009 Posted April 22, 2020 Share Posted April 22, 2020 The site search bar isn't customisable. The workaround is usually to replace the standard search bar with a search block, but whether this is possible will depend on your template and may require code. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
deandra.olivieri Posted April 24, 2020 Share Posted April 24, 2020 Hi Paul, If I didn't want to use the search block, is there a way to exclude folders from the site-wide search results? Link to comment
BlackWidow Posted December 10, 2020 Share Posted December 10, 2020 Does anyone know if the issue about the in-built search function searching index pages only has been solved? I've just designed a new site and the search function is still throwing up the unformatted pages that are contained within the index page. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment