---
title: "Add pages and widgets"
slug: "add-pages-and-widgets"
abstract: "Overview of how to work with Sitecore Search widget and pages."
---
# Add pages and widgets

In Sitecore Search, pages and widgets work together to create the experiences you want for your customers. A page is always associated with a specific URL or a URL pattern. A visit to a URL on your website, triggers the rendering of the page and widgets configured for that URL.

All implementations begin with a home page, a search results page, and a content page. You can [configure widgets](https://doc.sitecore.com/search/en/users/search-user-guide/display-relevant-results/add-pages-and-widgets/create-a-widget.html "Create a widget") for your implementation and configure [landing pages](https://doc.sitecore.com/search/en/users/search-user-guide/display-relevant-results/add-pages-and-widgets/create-a-landing-page.html "Create a landing page") and [detail pages](https://doc.sitecore.com/search/en/users/search-user-guide/display-relevant-results/add-pages-and-widgets/create-a-detail-page.html "Create a detail page") to host widgets.

The search results page is basically a container with a search results widget. When creating a search results page, you also add a search results widget specially created for it. Unless otherwise specified, the widgets offer search experiences of [the default *Content* entity](https://doc.sitecore.com/search/en/users/search-user-guide/configure-entities/entity-templates.html "Entity templates").

The page variation framework allows you to schedule the display of different widgets. For more control on widget behavior, you use the widget variation framework to [create widget variation rules](https://doc.sitecore.com/search/en/users/search-user-guide/display-relevant-results/add-or-edit-widget-variations.html "Add or edit widget variations"). Your implementation can have multiple pages if there are numerous widgets or widget variation rules.

## Configuring widgets for entities

All data requests must include at least one entity type for the results. Typically, the response to a request with a single entity, includes a list of results. When a request supplies multiple entities, the response includes a list of results for each entity.

In implementations with multiple entities, you can configure a variation rule for a specific entity or have it apply to all entities. On the widget variation page, you use the **Output entity** drop-down menu to assign an entity. The default value is *All*.

> [!note]
> In implementations with only one entity, the **Output entity** drop-down menu is not available.

## Optimizing search results and recommendations

To target the **Strategies** and **Settings** sections of a rule, you can configure **Site** and **Visitor** tabs in the **Context** section of the rule. If you do not configure context, the rule is applied to all searches unless overridden by another rule.

The following procedures describe how to use widget variation rules:

- [Configure results using context](https://doc.sitecore.com/search/en/users/search-user-guide/display-relevant-results/understanding-context-in-search/configure-results-using-context.html "Configure results using context")
- [Prioritize results](https://doc.sitecore.com/search/en/users/search-user-guide/display-relevant-results/prioritize-results.html "Prioritize results")
- [Exclude or bury results](https://doc.sitecore.com/search/en/users/search-user-guide/display-relevant-results/exclude-or-bury-results.html "Exclude or bury results")