Remarque : même si nos guides les plus populaires ont été traduits en français, certains guides sont uniquement disponibles en anglais.

Your built-in search page

Every Squarespace site has a built-in search function that anyone can access by adding a /search to the end of your domain. You can use this page as an internal tool to quickly find site content, or you can use it to create a public search page.

Pour obtenir la liste complète des contenus de sites indexés pour la recherche, consultez l’article Ajouter la fonction de recherche à votre site.

Open the search page

To access your search page, add /search to the end of your domain in your browser address bar.

You can add this to your built-in domain:

Or to a custom domain:

The search field works similarly to the Search Block and other search engines -- just enter search terms and results will auto-populate. Click any result to go to that page.

Create a public search page

To create a search option in your navigation, you can add the search URL as a navigation link. This is useful for adding a search feature to the top of your site if your template doesn't support Search Blocks in its header.

In the Pages panel, click the + icon to add a new page and choose the Link option.

In the Link Title field of the Web Address tab, enter a title for the link as it will display in the menu, for example, "Search." Then add your search page URL in the Link field. Click Save to create the link.

Note: Although the search page is technically a page on your site, you’ll still need to add it in the Web Address tab.

You’ll now have a search page accessible from your navigation.


Can I hide my search page from search engines?

Your site's robots.txt file automatically tells search engines not to crawl the /search URL.

This is a recent change, so if you still see your built-in search page in search results, you can wait for the search engine to reindex your site or verify your site with Google search console to manually request a reindex.

Can I redesign or delete my search page?

It’s not possible to redesign or delete the search page. However, your search page will reflect any site-wide styles that you’ve set. It will also include your site title, navigation, and footer.

Note: In the Avenue, Five, Wexley, Farro family, and York family templates, content added to per-page header, intro, or footer areas on the System Default 404 page also appears on the /search page.

If you prefer to use a customized search page, we recommend creating a new page that uses the Search Block. If you create your own search page, you'll need to use a URL slug different than /search.

Tip: If a visitor presses Return or Enter after a entering a query in a Search Block, the results will open in the /search page.

Pourquoi ma requête de recherche ne génère pas de résultats ?

Pour générer des résultats de recherche, procédez comme suit :

If you're still not seeing results after following these troubleshooting steps, contact us so we can try to reset your site's search on our end.

Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 35 sur 94