# BEGIN MHS bot-filter block — added by Master Health Scanner
# Returns 403 Forbidden when a bot hits a filtered shop URL.
# Real-user browsers are unaffected (they don't match the UA list).
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} (bot|crawler|spider|fetch|slurp|MJ12|SemrushBot|AhrefsBot|DotBot|BLEXBot|PetalBot|YandexBot|bingbot|Googlebot|DataForSeoBot|barkrowler|MegaIndex|Bytespider|ClaudeBot|GPTBot|CCBot|anthropic-ai) [NC]
    RewriteCond %{QUERY_STRING} (filter_|rating_filter|orderby|min_price|max_price) [NC]
    RewriteRule ^(.*)$ - [F,L]
</IfModule>
# END MHS bot-filter block
AddHandler application/x-httpd-ea-php82 .php .php8 .phtml
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>

# 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.
<IfModule mod_rewrite.c>
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]
</IfModule>

# END WordPress

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