Files
visit.waterschurch.org/deploy/htaccess.prelaunch-redirect
T
Waters ChurchandClaude Fable 5.1 78cd0cc550 Plan Your Visit landing page for visit.waterschurch.org
Next.js 16 static export + PHP 8 API for cPanel/Apache hosting.

- Location-aware campus finder (IP estimate, optional precise location, ZIP search)
- Three-step Plan Your Visit form with separate email/SMS consent
- PHP API: validation, anti-spam, rate limiting, SQLite lead store,
  Mailchimp and Sinch Engage adapters, idempotent retries via cron
- Attribution capture (utm_*, gclid/gbraid/wbraid, fbclid, ttclid, twclid) and
  consent-aware analytics hooks
- Vitest and PHP test suites, cPanel deployment script and docs

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-22 13:22:26 -04:00

16 lines
810 B
Plaintext

# ---------------------------------------------------------------------------
# PRE-LAUNCH: keep sending visitors to the Church Center form until Waters
# Church flips the switch. The /api/ endpoints are exempt so the deployment
# can be verified (they are rate-limited and same-origin protected). To go live, delete this block (or run deploy/deploy.sh
# without --keep-redirect).
# ---------------------------------------------------------------------------
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/api/
RewriteCond %{REQUEST_URI} !^/404\.html$
RewriteCond %{REQUEST_URI} !^/\.well-known/
RewriteRule ^(.*)$ https://waterschurch.churchcenter.com/people/forms/21186 [R=302,L]
</IfModule>
# --------------------------------------------------------------- end prelaunch