> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ignoreCanonicalTo

> Whether to extract records from pages with a canonical URL.

* **Type**: `boolean | string[]`
* **Default**: `false`

If true, all canonical URLs are ignored.
If you specify an array of patterns,
only canonical URLs that match at least one pattern are ignored.

## Examples

```js JavaScript icon=code theme={"system"}
{
  ignoreCanonicalTo: true,
}
```

```js JavaScript icon=code theme={"system"}
{
  ignoreCanonicalTo: [
    "http://www.mysite.com/my-path/**",
  ],
}
```
