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>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user