# HAMUR_W1243: The mode makes every page noindex

The mode makes every page noindex. Warning `HAMUR_W1243` belongs to `hamur`, scan, build and dev (1001 – 1999).

## Message

```text
HAMUR_W1243 site.env is "<env>" (from --mode), so every page is noindex unless HAMUR_SITE_ENV changes it at run time; set site.env: "production" or HAMUR_SITE_ENV=production for a production deploy
```

## Cause

`hamur build --mode <name>` with `site.url` set and neither `site.env` nor `site.indexable` in the config: `site.env` defaults to the mode, so `site.indexable` is false and every page carries `noindex, nofollow`. A mode that only picks a preset through `$env.<name>` does not make the build production.

## Fix

For a production deploy, set `site.env: "production"` in the config or `HAMUR_SITE_ENV=production` where the server runs. For a staging deploy that should stay out of search, set `site.env` to the mode name, which silences the warning.
