---
title: Searching in pages
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

You can search for text in pages stored in the content tree.

### To search in pages

1. In the **Pages** application, click **Search** .

   ![Searching in pages](https://docs.kentico.com/docsassets/13/searching-in-pages/searching_in_pages.png "Searching in pages")
2. In the **Website indexes** drop-down list, select whether you want to use a [locally stored smart search index](https://docs.kentico.com/13/configuring-xperience/setting-up-search-on-your-website/using-locally-stored-search-indexes.md) or a basic SQL search:
   1. **SQL search** – select _(SQL Search)_. Slower, but supports search in both published and unpublished pages.
   2. **Smart search** – select a particular smart search index. Fast, but does not support search in unpublished pages.

      > **Note:** **Note**: [Azure Search](https://docs.kentico.com/13/configuring-xperience/setting-up-search-on-your-website/using-azure-cognitive-search.md) indexes are not supported by the page search. The search also does not support page content added via [page builder](https://docs.kentico.com/13/managing-website-content/adding-page-content-using-widgets.md) widgets.
3. Specify the rest of the search criteria:
   1. **Search phrase** – the text that you are looking for. If using a search index, you can enter the syntax described in [smart search syntax](https://docs.kentico.com/13/configuring-xperience/setting-up-search-on-your-website/using-locally-stored-search-indexes/smart-search-syntax.md). If using the SQL search, you can use standard SQL syntax.
   2. **Search mode** – specifies how the search phrase will be used:
      1. _Exact phrase –_ returns pages where the search phrase is found exactly as entered.
      2. _Any word_ – returns pages where at least one word of the search phrase is found.
      3. _All words_ –returns pages where all words of the search phrase are found, regardless of their position or order in the text.
   3. **Language** –available if your site uses multiple cultures.
4. (SQL Search) Select the **Only published** check box if you want to include unpublished pages in the search.
5. Click **Search**.

The system lists the pages it finds below the search box.
