---
title: "Exclude Pages"
description: "Exclude entire pages from link checking."
canonical_url: "https://nuxtseo.com/docs/link-checker/guides/exclude-pages"
last_updated: "2026-05-06T18:46:18.106Z"
---

Exclude pages from link checking using the `excludePages` option. When a page matches, none of its links will be inspected.

This is useful when a page renders many external links you don't control or when an entire section of your site should be skipped.

## Usage

```ts
export default defineNuxtConfig({
  linkChecker: {
    excludePages: [
      '/external-links', // Exact match
      '/embed/**', // All embed routes
      /^\/generated\//, // RegExp pattern
    ],
  },
})
```

The same pattern types are supported as [`excludeLinks`](/docs/link-checker/guides/exclude-links): exact strings, wildcards, and RegExp.

## Difference from excludeLinks

<table>
<thead>
  <tr>
    <th>
      Option
    </th>
    
    <th>
      Effect
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        excludeLinks
      </code>
    </td>
    
    <td>
      Skips specific link URLs from being checked on <strong>
        any
      </strong>
      
       page
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        excludePages
      </code>
    </td>
    
    <td>
      Skips <strong>
        all
      </strong>
      
       link checking on matched pages
    </td>
  </tr>
</tbody>
</table>
