# Execution Space — Site Configuration Guide

Reference for WordPress settings, hosting, deploy pipeline, and plugin configuration.

---

## Hosting: WP Engine

| Setting | Value |
|---------|-------|
| Platform | WP Engine |
| Staging install | `executionspstg` |
| Staging URL | executionspstg.wpengine.com |
| Production install | `executionsp` (or similar — confirm in portal) |
| Production URL | executionspace.com |

### WP Engine Portal
- **Backups:** User Portal → Installs → [install] → Backups → Create checkpoint
- **SFTP:** User Portal → Installs → [install] → SFTP Users
- **PHP version:** User Portal → Installs → [install] → PHP

### SSH Deploy Key
The deploy GitHub Action uses an SSH key registered with WP Engine:
- Key stored as `WPE_SSHG_KEY_PRIVATE` in GitHub repo secrets
- Registered at: WP Engine → installs → [install] → Git Push

---

## WordPress Settings

### General
- Site Title: Execution Space
- Admin email: milton.waddams@executionspace.com

### Reading (Settings → Reading)
- Front page: Static page → "Home" (page-home template)
- Posts page: Blog (or unset if not yet created)

### Permalinks
- Structure: Post name (`/%postname%/`)

### Theme
- Active theme: **exe-2025**
- Template: WordPress FSE (Full Site Editing) block theme
- Theme files: `wp-content/themes/exe-2025/`

---

## Active Plugins

| Plugin | Purpose | Notes |
|--------|---------|-------|
| WP Engine Smart Plugin Manager | Auto plugin updates | WP Engine managed |
| (Others TBD) | | Audit and remove Akismet, Genesis Blocks, Child Theme Configurator |

### Plugin Cleanup (pending)
The following plugins should be deactivated and deleted:
- Akismet — not configured
- Genesis Blocks — replaced by custom theme
- Child Theme Configurator — no longer needed

---

## Deploy Pipeline

### Repository
- **WordPress repo:** `ExecutionSpace/executionspace-wordpress`
- **Branch:** `develop` → staging auto-deploy; `main` → production

### GitHub Actions
Workflows are in `.github/workflows/`:

**Staging deploy** (`deploy-staging.yml`):
- Triggers on push to `develop`
- rsync to WPE staging install via SSH
- FLAGS: `--recursive --delete` (excludes `.git/`, `.gitignore`, `*.md`, `.DS_Store`, `node_modules/`, `*.log`)

**Production deploy** (`deploy-production.yml`):
- Configured for `main` branch
- Same rsync FLAGS

### Required GitHub Secrets
| Secret | Description |
|--------|-------------|
| `WPE_SSHG_KEY_PRIVATE` | WP Engine SSH private key |

---

## DNS / Domain
- Registrar: (confirm with Milton)
- DNS managed at: (confirm)
- Points to WP Engine nameservers / A records

---

## Backups
- WP Engine provides daily automated backups
- Manual checkpoints: Portal → Installs → Backups → Create checkpoint
- Checkpoint created: March 2026 (first deploy recovery point)

---

_Last updated: March 2026_
