Add custom 403 page and wire it into .htaccess
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,10 +3,11 @@
|
|||||||
# Netlify / GitHub Pages / Cloudflare Pages ignore this file — they serve
|
# Netlify / GitHub Pages / Cloudflare Pages ignore this file — they serve
|
||||||
# 404.html automatically because of its filename.
|
# 404.html automatically because of its filename.
|
||||||
|
|
||||||
# ── Custom error page ─────────────────────────────────────────
|
# ── Custom error pages ────────────────────────────────────────
|
||||||
# Path is absolute from the document root. If you deploy the site into a
|
# Paths are absolute from the document root. If you deploy the site into a
|
||||||
# subdirectory (e.g. /signals/), change this to /signals/404.html.
|
# subdirectory (e.g. /signals/), change these to /signals/404.html etc.
|
||||||
ErrorDocument 404 /404.html
|
ErrorDocument 404 /404.html
|
||||||
|
ErrorDocument 403 /403.html
|
||||||
|
|
||||||
DirectoryIndex index.html
|
DirectoryIndex index.html
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user