# Configuration

> Configure the qoliber SEO IndexNow extension — API key, endpoint and per-event triggers.

All settings live under **Stores → Configuration → Qoliber → SEO: IndexNow**.

## Master switch

Top-level toggle. When off, save observers exit immediately and the ownership-key route returns 404.

## API key

The string you generated when registering with IndexNow. The module:

- Sends this key in every IndexNow POST request.
- Serves it back at the ownership-verification path so engines can confirm you control the domain.

The verification path follows the IndexNow convention (`/{key}.txt`) and is served by a Magento controller — no filesystem operation needed.

## Endpoint

- **Generic** (default) — `https://api.indexnow.org/indexnow`. Forwards your notification to every participating engine.
- **Per-engine** — pin to a specific engine if you only want to notify one (Bing, Yandex, Naver, Seznam).

For the vast majority of stores the generic endpoint is the right default.

## Per-event triggers

| Trigger | Default | Fires on |
|---------|---------|----------|
| `notify_on_product_save` | enabled | every catalog product save event |
| `notify_on_category_save` | enabled | every catalog category save event |
| `notify_on_cms_save` | enabled | every CMS page save event |

Disable any combination — for example, you might disable category-save notifications during a large category-tree migration to avoid hammering IndexNow with intermediate states.

## Per-store-view configuration

All settings can be scoped per website / store / store-view. Different markets can use different IndexNow keys if your operations team prefers separate audit trails.

## Operational notes

- **Submissions are best-effort** — the module logs failures but does not retry. A queue-based pipeline with retry semantics is planned for 2.2.
- **5-second timeout** — IndexNow endpoints are normally sub-second, but a slow remote will not block your save operation past 5 seconds.
- **No sensitive data is sent** — the IndexNow payload contains only the URL list and the API key. Customer data, prices and stock levels are never transmitted.

## Verify it's working

After saving a product, you should see a log entry confirming the notification was POSTed (path: `var/log/qoliber_index_now.log`, depending on your logging config).

You can also use Bing's [Bing Webmaster Tools → IndexNow](https://www.bing.com/webmasters) report to see submissions over time.
