---
title: "getSiteIndexable()"
description: "Check if the current site is indexable within Nitro."
canonical_url: "https://nuxtseo.com/docs/site-config/nitro-api/get-site-indexable"
last_updated: "2026-05-25T04:25:41.488Z"
---

Determine if the site is indexable by search engines.

If the `indexable` property is explicitly set in site config, that value is returned directly. Otherwise, it falls back to checking whether `env === 'production'`, returning `true` for production and `false` otherwise.

## Usage

```ts
import { getSiteIndexable } from '#site-config/server/composables'

const indexable = getSiteIndexable(e)
// true
```
