Enhance SEO and accessibility across the site by updating meta tags in HTML files, adding canonical links, and implementing Open Graph and Twitter Card metadata. Update .htaccess for improved redirection rules and event handling for the Benefit Brunch. Include new image for sharing purposes.

This commit is contained in:
blake committed 2026-10-06 14:23:13 -05:00
1 parent 305250137c
commit 722079e867
15 files changed
+132 -16

No files matched your search

+15
View File
@@ -4,8 +4,22 @@ ErrorDocument 404 /404.html
<IfModule mod_rewrite.c>
RewriteEngine On
# One public host: https://whispersoflhj.org/
RewriteCond %{HTTP_HOST} ^(?:www\.)?whispersoflhj\.(?:com|org)(?::\d+)?$ [NC]
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^whispersoflhj\.org(?::\d+)?$ [NC]
RewriteRule ^ https://whispersoflhj.org%{REQUEST_URI} [R=301,L,NE]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L,NE]
# Benefit brunch: after the morning of October 11, 2026 on the server clock,
# send /events/ home and mark that response noindex. %{TIME} follows the server
# timezone, so this is the morning after the brunch in US time zones.
# Keep 20261011060000 in sync with endsAt in script.js (2026-10-11T05:00:00Z).
RewriteCond expr "%{TIME} >= 20261011060000"
RewriteRule ^events(?:/index\.html)?/?$ / [R=302,L,E=brunch_over:1]
</IfModule>
<IfModule mod_alias.c>
@@ -25,6 +39,7 @@ ErrorDocument 404 /404.html
Header always set Strict-Transport-Security "max-age=31536000"
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "DENY"
Header always set X-Robots-Tag "noindex" env=brunch_over
</IfModule>
<IfModule mod_brotli.c>