Sorry, no results found for "".

DatoCMS Site Search > Configuration

Configuration

A bit of context about Build Triggers

The way you configure Site Search involves the concept of build triggers. Build triggers represent the connection between a DatoCMS project and a specific frontend, hosted on a particular platform (Netlify, Vercel, etc).

Since the content of a DatoCMS project can be read and used on multiple frontends, multiple build triggers can be created in a single project.

Once a build trigger is configured, it is possible to:

  1. Command the rebuild of a frontend directly from the DatoCMS interface;

  2. Activate Site Search, so that each time the frontend is rebuilt, the crawling of the site and re-indexing of its pages starts;

The configuration of the build trigger actually depends on the hosting solution you choose for the frontend, so please refer to the various guides inside our Marketplace.

Activating Site Search for a specific Build Trigger

Once you have created and properly configured a build trigger, you can activate the Site Search:

  • Go to the Project Settings > Build triggers section of your project and select a build trigger;

  • Check the Site search option and specify your Website frontend URL: that's the address from which crawling will begin;

  • Press the Publish changes button. This will start the rebuild of the frontend, and subsequently a website spidering.

Respider a website without triggering a rebuild

Anytime you want, you can also trigger a respidering of your frontend using a specific CMA endpoint.

Inspecting crawling results

Once the publishing of the website ends, in the Project Settings > Deployment > Activity log section you will see that DatoCMS will start spidering your website. When the spidering ends (it may take a while, depending on the size of your website), you'll see a Site spidering completed with success event in your log.

Clicking on the Show details link will present you the complete list of spidered pages.