# Artifis SEO — Rule of Three

All rules below run on **Hostinger** only (`https://srv1677041.hstgr.cloud/seo/`). NAS does not run this pipeline.

## The three rules

1. **Three competitors per trade** — Electrical, Security/CCTV, Gates/Access, Commercial HVAC, Renewables: exactly three rival URLs each in `data/settings.json` → `competitor_categories`.
2. **Three keyword sources** — Competitor sniff (public page words), Google Trends (UK), Google Search Console (CSV upload or API).
3. **Three automatic applies** — Merge keywords → generate meta → deploy live `artifis/index.php` title and description.

## Cron (Hostinger root crontab)

| Schedule | Mode | Purpose |
|----------|------|---------|
| Hourly :00 | `hourly` | Trends + meta + deploy |
| Every 6h :00 | `sniff` | Competitor crawl |
| Daily 06:30 UTC | `daily` | Sniff + meta + deploy backup |

Install: `bash scripts/hostinger/setup-seo-cron.sh`

## NAS

`https://jumpaperture.synology.me/seo/*` admin pages **redirect** to Hostinger. Do not add NAS crontab lines for `/volume1/web/seo/cron.php`.

See also: [AUTOMATION.md](AUTOMATION.md) · [PLAIN_ENGLISH_SEO.md](PLAIN_ENGLISH_SEO.md)
