# =====================================================
# CHRYSALIS KIDS - HOSTINGER / LITESPEED
# SEO REDIRECTS + SECURITY + SHTML ROUTING + WEBP
# =====================================================
Options -Indexes
DirectoryIndex default.php index.php index.html index.shtml
# =====================================================
# 1. URL REWRITING
# =====================================================
RewriteEngine On
# -----------------------------------------------------
# OLD URLS -> CURRENT LIVE URLS
# -----------------------------------------------------
RewriteRule ^admission/?$ https://www.chrysaliskids.com/admissions [R=301,L,NC]
RewriteRule ^contact/?$ https://www.chrysaliskids.com/contact-us [R=301,L,NC]
RewriteRule ^programs-list/?$ https://www.chrysaliskids.com/programs [R=301,L,NC]
RewriteRule ^chry-kid/?$ https://www.chrysaliskids.com/why-crysalis-kids [R=301,L,NC]
RewriteRule ^about-inner/?$ https://www.chrysaliskids.com/why-crysalis-kids [R=301,L,NC]
RewriteRule ^gallery/?$ https://www.chrysaliskids.com/about-us [R=301,L,NC]
RewriteRule ^play-school-in-whitefield-bangalore/?$ https://www.chrysaliskids.com/ [R=301,L,NC]
RewriteRule ^pre-school-in-whitefield-bangalore/?$ https://www.chrysaliskids.com/ [R=301,L,NC]
RewriteRule ^nursery-school-in-whitefield-bangalore/?$ https://www.chrysaliskids.com/ [R=301,L,NC]
RewriteRule ^best-kindergarten-schools-in-bangalore/?$ https://www.chrysaliskids.com/why-crysalis-kids [R=301,L,NC]
RewriteRule ^index\.(php|html?)$ https://www.chrysaliskids.com/ [R=301,L,NC]
# -----------------------------------------------------
# CANONICAL HOST: WWW + HTTPS
# -----------------------------------------------------
RewriteCond %{HTTP_HOST} !^www\.chrysaliskids\.com$ [NC]
RewriteRule ^ https://www.chrysaliskids.com%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
RewriteRule ^ https://www.chrysaliskids.com%{REQUEST_URI} [R=301,L]
# -----------------------------------------------------
# REMOVE TRAILING SLASH
# Exclude blog and actual directories
# -----------------------------------------------------
RewriteCond %{REQUEST_URI} !^/blog(/|$) [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ https://www.chrysaliskids.com/$1 [R=301,L]
# -----------------------------------------------------
# WEBP SUPPORT
# -----------------------------------------------------
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} \.(jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME}.webp -f
RewriteRule ^(.+)\.(jpe?g|png)$ $1.$2.webp [T=image/webp,E=CSF_WEBP:1,L]
# -----------------------------------------------------
# EXTENSIONLESS URLS -> EXISTING SHTML FILES
# Example: /about-us -> about-us.shtml
# -----------------------------------------------------
RewriteCond %{REQUEST_URI} !^/blog(/|$) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.shtml -f
RewriteRule ^(.+?)/?$ $1.shtml [END]
# =====================================================
# 2. SECURITY HEADERS
# =====================================================
Header always set X-Content-Type-Options "nosniff"
Header always set Strict-Transport-Security "max-age=31536000"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set X-Frame-Options "SAMEORIGIN"
# =====================================================
# 3. PROTECT INTERNAL SEO CONFIGURATION FILES
# =====================================================
Require all denied
Order allow,deny
Deny from all
# =====================================================
# 4. SEO HEAD INJECTION - LITESPEED
# =====================================================
php_value auto_prepend_file "/home/u233754038/domains/chrysaliskids.com/public_html/chrysalis-seo-head.php"
# =====================================================
# 5. WEBP RESPONSE HEADERS
# =====================================================
Header append Vary Accept env=REDIRECT_CSF_WEBP
Header append Vary Accept env=CSF_WEBP
# =====================================================
# END CHRYSALIS KIDS CONFIGURATION
# =====================================================
Comments on: The Power of Kindness: Teaching Children Empathy and Compassion in the Classroom
https://www.chrysaliskids.com/blog/the-power-of-kindness-teaching-children-empathy-and-compassion-in-the-classroom/
Tue, 24 Nov 2026 09:31:23 +0000
hourly
1
https://wordpress.org/?v=7.0.9