# defineSeoConfig Reference

`seo-in-nextjs` must be configured through a `seo.config.ts` (or `seo.config.js` if not using TypeScript) file in the root of your project using the `defineSeoConfig` function with a default export.

```ts
export default defineSeoConfig({
  baseUrl: "https://example.com",
  siteName: "Example",
});
```

## Parameters

The `defineSeoConfig` function accepts one parameter, an object containing the following properties:

### `baseUrl` (required)

**type:** `string`

**Added in:** `seo-in-nextjs@1.0.0`

The base URL of the project.

### `siteName` (required)

**type:** `string`

**Added in:** `seo-in-nextjs@1.0.0`

The name of the site.

### `defaultOgImg`

**type:** `string`

**Added in:** `seo-in-nextjs@1.0.0`

The URL of the default Open Graph image.

### `manualRoutes`

**type:** `string[]`

**Added in:** `seo-in-nextjs@1.0.0`

Manually specified routes that cannot be detected through automatic project exploration. Includes dynamic routes, and other routes not directly represented in the file system.

### `ignoreRoutes`

**type:** `string[]`

**Added in:** `seo-in-nextjs@1.1.0`

Manually specified routes to ignore on `sitemap.xml` and `llms.txt` generation.