# Force HTTPS for the entire site
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Force HTTPS specifically for /limited-time/landing
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} ^/limited-time/landing
RewriteCond %{REQUEST_URI} ^/Finale-offer/landing
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# BEGIN Custom Landing Page Rules (MUST be before WordPress rules)
RewriteEngine On
# Main rule: /limited-time/landing → serves landing.html (clean URL)
RewriteRule ^limited-time/landing/?$ /limited-time/landing.html [L]
RewriteRule ^Finale-offer/landing/?$ /Finale-offer/landing.html [L]
# If someone adds trailing slash → redirect to clean URL
RewriteRule ^limited-time/landing/$ /limited-time/landing [R=301,L]
RewriteRule ^Finale-offer/landing/$ /Finale-offer/landing [R=301,L]
# Optional: catch /landing/index.html or old variations
RewriteRule ^limited-time/landing/(index\.html)?$ /limited-time/landing.html [L]
RewriteRule ^Finale-offer/landing/(index\.html)?$ /Finale-offer/landing.html [L]
# Optional: force clean URL (redirect if someone types .html directly)
RewriteCond %{THE_REQUEST} \s+/limited-time/landing\.html[\s?] [NC]
RewriteRule ^limited-time/landing\.html$ /limited-time/landing [R=301,L]
# END Custom Landing Page Rules
RewriteCond %{THE_REQUEST} \s+/Finale-offer/landing\.html[\s?] [NC]
RewriteRule ^limited-time/landing\.html$ /Finale-offer/landing [R=301,L]
# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule litespeed/debug/.*\.log$ - [F,L]
RewriteRule \.litespeed_conf\.dat - [F,L]
### marker ASYNC start ###
RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax\.php
RewriteCond %{QUERY_STRING} action=async_litespeed
RewriteRule .* - [E=noabort:1]
### marker ASYNC end ###
### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
# BEGIN LiteSpeed
# The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
SetEnv noabort 1
# END LiteSpeed