# Crawler Settings

Crawler settings decide which of the pages the crawler finds end up in your index: leave out unwanted pages, merge duplicates, and keep indexing fast. If pages are **missing** from your results instead, see [Why is a page missing from search results?](https://docs.sitesearch360.com/your-search-index.md#why-is-a-page-missing-from-search-results)

**Where to find it:** **Data Sources** → [**Website Crawling**](https://app.sitesearch360.com/data/import/crawling) (also on [Sitemap Indexing](https://app.sitesearch360.com/data/import/sitemap)): the Black- and Whitelisting, Settings and Advanced Settings sections

The settings are shared by both pages. After changing them, click **Save** and [re-index your site](https://docs.sitesearch360.com/your-search-index.md#re-indexing-your-site). When you change your root URLs or sitemaps, you can start clean with **Empty Entire Index** on the [Index](https://app.sitesearch360.com/data/list/content) page first.

***

## Leave out unwanted pages

* **Subdomains:** crawling `https://example.com` also crawls `https://blog.example.com` and other subdomains. To stay on the main domain, turn off **Crawl Subdomains** on the Website Crawling page.

* **One page:** to hide a page from Site Search 360 only, while Google still indexes it, add this meta tag to it:

  ```
  <meta name="ss360" content="noindex" />
  ```

* **Areas of your site:** use the URL patterns and XPaths below.

### How the rules work together

A page is indexed only when it doesn't match a blacklist pattern, matches a whitelist pattern (if you set any), and doesn't match a no-index pattern. The rules are checked in that order, so blacklist beats whitelist: whitelist `/blog/` and blacklist `/blog/drafts/` to index your blog without its drafts.

URL patterns are regular expressions: put a backslash before special characters such as `[]^$.|?*+(){}`. Blacklist and whitelist patterns are case-sensitive; no-index patterns aren't.

The rules are checked again at every re-index, and a page that no longer passes them is removed. They don't stop pages from the [URL List](https://docs.sitesearch360.com/url-list.md) or [FAQ](https://docs.sitesearch360.com/faq.md) from being indexed, but a later crawl removes URL List pages that match a blacklist or no-index pattern.

### Blacklist URL patterns

The crawler ignores matching URLs completely: it doesn't index them or follow their links. They show as **802 Skipped, blacklisted** in the Index Log. For example, to leave out the WordPress admin area, PHP pages and PDFs:

```
/wp-admin/
\.php
\.pdf$
```

Click **Fill Blacklist from robots.txt** to add the `Disallow` rules from your site's `robots.txt` as blacklist patterns.

### Whitelist URL patterns

The crawler indexes and follows only matching URLs. Others show as **802** too. For example, to search only your French pages:

```
/fr/
```

Your root URL has to match the whitelist too, such as `https://example.com/fr/`. A root URL outside the whitelist is skipped, so the crawl may index nothing.

### No-index URL patterns

The crawler visits matching pages and follows their links, but doesn't index the pages themselves, like a `noindex, follow` robots tag. They show as **800 Skipped, noindex**. Use them for pages that only lead to content, such as a blog's overview page or tag pages. `$` ends the match, so this pattern skips the overview page but still indexes the posts under it:

```
/blog/$
```

### No-index and whitelist XPaths

When the pages to leave out don't share a URL pattern, select them by an element on the page:

* **No-Index XPaths:** a page that contains a matching element isn't indexed, but its links are followed. For example, to skip category pages and still index the products they link to: `//div[@class="product-grid"]`.
* **Whitelist XPaths:** only pages that contain a matching element are indexed, for example only Russian pages: `//html[@lang="ru"]`. While a whitelist XPath is set, no-index XPaths are not checked.

Both show as **803** in the Index Log.

No-index pages are still fetched and scanned, so many no-index rules slow indexing down. When a page and everything it links to can go, a blacklist pattern is faster.

### No-follow XPaths

Under **Advanced Settings**, **No-Follow XPaths** keep a page in the index but stop the crawler from following the links inside a matching element, such as a "related products" block or a menu that leads to pages you don't want.

***

## Merge duplicate pages

These settings are in the Deduplication part of the Settings section.

### Use Canonical URL

[Canonical tags](https://moz.com/learn/seo/canonicalization) mark which URL is the main version of a page. For example, if `/url1` and `/url2` show the same content as `/page1`, add this to the first two:

```
<link rel="canonical" href="https://example.com/page1" />
```

Then turn on **Use Canonical URL** (off by default) and re-index. Pages whose canonical points elsewhere are skipped (**801**) and the canonical URL is indexed instead.

### Ignore Query Parameters

**Ignore Query Parameters** removes everything after `?` from every URL, so `/url1?utm_campaign=google` and `/url1` become one entry.

**Ignore Query Parameters** removes every parameter, including ones that select content. If your site uses parameters for pagination (`?page=2`) or to identify pages (`?id=12`), those pages collapse into one and the rest are missed. Use a sitemap with clean URLs instead, or no-index the pagination (`\?page=`) and blacklist the parameters you don't need.

### Lowercase All URLs and Remove Trailing Slashes

* **Lowercase All URLs:** turn it on only if your server treats `/Category/Product` and `/category/product` as the same page.
* **Remove Trailing Slashes:** turn it on only if `/product/` and `/product` show the same page.

### Replace Parts in URL

**Replace Parts in URL** rewrites URLs before they're indexed. Each pattern is a regular expression (not case-sensitive), and every match is replaced with the replacement, which can be empty. Use it to merge variants that differ in a fixed way, for example to remove `www.`. It changes the indexed URL of every page, whatever its source, so rules that depend on the host name may stop matching.

***

## Index faster

Indexing takes from a few minutes to several hours, depending on the number of pages. For large sites, [Sitemap Indexing](https://app.sitesearch360.com/data/import/sitemap) is the fastest method: the crawler reads one list instead of discovering pages link by link.

### Update changed pages only

If your sitemap gives every page a `<lastmod>` date, the crawler can skip unchanged pages at each re-index:

1. Add your sitemap under Sitemap Indexing.
2. Turn on **Auto Re-Index** and, under **Optimize Indexing**, tick **Update changed pages only**.
3. Under Website Crawling, turn off **Auto Re-Index** for your root URL, or remove it if your sitemap lists every page.

After a change that affects every page, such as new extraction rules or result groups, the next re-index checks all pages anyway. Large sitemaps still take longer: the crawler reads every entry.

### Indexing intensity

Under **Advanced Settings**, **Indexing Intensity** sets how fast the crawler fetches pages, for both crawling and sitemaps: from 1 (slowest, least load on your server) to 5 (fastest, most load). 3 is the default. Raise it if your server can take the load.

Using a URL List as a temporary workaround

While you're actively changing a large project, you can index a [URL List](https://docs.sitesearch360.com/url-list.md) of your most important pages instead of your other sources. It's not a long-term solution: you have to keep the list up to date yourself, and it holds at most 2,000 URLs.
