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


# Disable dir listing
Options -Indexes

# Block xmlrpc.php requests
<Files xmlrpc.php>
order allow,deny
deny from all
</Files>

# BEGIN HttpHeaders
# The directives (lines) between "BEGIN HttpHeaders" and "END HttpHeaders" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_headers.c>
  Header set Access-Control-Max-Age "2592000" env=CORS
  <FilesMatch "\.(php|html)$">
    Header set X-Powered-By "PHP/5.4"
    Header set X-XSS-Protection "1; mode=block"
    Header always append X-Frame-Options SAMEORIGIN
    Header set X-Content-Type-Options nosniff
    #Header set Age "2592000"
    #Header set Cache-Control "no-store, public, max-age=2592000, s-maxage=2592000"
    Header set Strict-Transport-Security "max-age=2592000" env=HTTPS
    Header set Content-Security-Policy "default-src 'self' https: data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https:; style-src 'self' 'unsafe-inline' https: data:; img-src 'self' https: data:; connect-src 'self' https:; font-src 'self' https: data:; media-src 'self' https: data:; report-uri 'self'; child-src 'self' 'unsafe-inline' https:; form-action 'self' https:; frame-ancestors 'self' https:; object-src 'self' 'unsafe-inline' https:; frame-src 'self' https:; worker-src 'self' https:; manifest-src 'self' https:; navigate-to 'self' https:; prefetch-src 'self' https:; base-uri 'self' https:"
    Header set Referrer-Policy "same-origin"
    Header set Permissions-Policy "autoplay=*, fullscreen=*, geolocation=*"
    Header append Vary "*"
  </FilesMatch>
</IfModule>
# END HttpHeaders