Add custom 403 page and wire it into .htaccess

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Harwinder Sekhon
2026-07-12 10:44:52 -04:00
parent dc2d79c2a2
commit 684c0b1f17
2 changed files with 84 additions and 3 deletions
+4 -3
View File
@@ -3,10 +3,11 @@
# Netlify / GitHub Pages / Cloudflare Pages ignore this file — they serve
# 404.html automatically because of its filename.
# ── Custom error page ─────────────────────────────────────────
# Path is absolute from the document root. If you deploy the site into a
# subdirectory (e.g. /signals/), change this to /signals/404.html.
# ── Custom error pages ────────────────────────────────────────
# Paths are absolute from the document root. If you deploy the site into a
# subdirectory (e.g. /signals/), change these to /signals/404.html etc.
ErrorDocument 404 /404.html
ErrorDocument 403 /403.html
DirectoryIndex index.html