# longniddrybowlingclub

## Domain Configuration

- Primary: longniddrybowlingclub.com (SSL enabled, id=32) - Secondary: longniddrybowlingclub.co.uk (SSL disabled, id=31)

### 2026-06-14 — .co.uk → .com Redirect

Issue: Claude created a full WordPress install for longniddrybowlingclub.co.uk when it should have been email-only domain.

Resolution: Configured permanent 301 redirect from .co.uk → .com while preserving SSL cert for email forwarding.

Changes made: - Replaced vhost config at `/usr/local/lsws/conf/vhosts/longniddrybowlingclub.co.uk/vhost.conf` with redirect rules - Added ACME challenge context for SSL renewal - Restarted litespeed web server

Status: Redirect verified working. Left WordPress install for 24hr observation before cleanup.

Pending cleanup (next session): - Remove dead WordPress install (database `longniddry` + `/home/longniddrybowlingclub.co.uk/public_html/` files) - Verify email forwarding still works - Consider removing SSL cert if not needed for email

Note: Keep vhost entry for redirect — do not delete CyberPanel site entry until confirmed.

## Contact Form Configuration

### 2026-07-27 — Contact form sending to [email protected] instead of secretary

Root cause: Divi contact form defaults to WordPress `admin_email` ([email protected]) when no explicit `email=` attribute is set. The page-level form had `email=` set correctly, but the Divi Theme Builder body layout (which overrides page content) had a contact form WITHOUT `email=`, so all submissions went to admin_email.

Affected posts (4 total):

ID Type Post Name
—-—————–
93423 page contact-us
90929 et_pb_layout dc-contact-us-page
100279 et_body_layout contact-us-2
4394749 et_tb_item specific-pages-contact-us

Fix applied: Added `email=“[email protected]”` to all 4 contact form shortcodes.

Key lesson: Divi Theme Builder templates override page-level content. Always check `et_body_layout` and `et_tb_item` posts, not just the page itself.

### Anti-spam: Cloudflare Turnstile (NOT reCAPTCHA)

- Captcha: OFF (no Divi math captcha) - Cloudflare Turnstile: ON - Turnstile sitekey: `0x4AAAAAABhBVi8VfxklQpou` - Plugin: `divi-contact-form-helper` (active) — provides Turnstile integration + DB entry saving

All 4 contact form shortcodes now have: ``` email=“[email protected]” captcha=“off” use_cloudflare_turnstile=“on” ```

DCFH plugin status: ACTIVE. Must stay active — it provides: 1. Turnstile rendering for old Divi 4 shortcodes 2. Form entry database storage 3. Email blacklist + honeypot anti-spam

⚠️ DCFH must NOT be deactivated without first confirming Turnstile renders correctly without it (the `use_cloudflare_turnstile=“on”` attribute was only added to Divi 5 forms natively; old Divi 4 forms need DCFH for Turnstile injection).

### WordPress admin_email

- `admin_email` = `[email protected]` — intentionally NOT changed to secretary email - All notifications (Wordfence, FluentSMTP stats, etc.) correctly go to [email protected] - Only contact form submissions are redirected via the explicit `email=` shortcode attribute