<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
Options +FollowSymLinks
RewriteEngine on
<!-- WWWからhttpsへ -->
RewriteCond %{HTTP_HOST} ^www.stylishelog.eroelog.com$
RewriteRule ^(.*)$ https://stylishelog.eroelog.com/$1 [R=301,L]
<!-- 初期ドメインからhttpsへ-->
RewriteCond %{HTTP_HOST} ^stylishelog.eroelog.mixh.jp$ [NC]
RewriteRule (.*) https://stylishelog.eroelog.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.stylishelog.eroelog.mixh.jp$ [NC]
RewriteRule (.*) https://stylishelog.eroelog.com/$1 [R=301,L]

# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
<IfModule LiteSpeed>
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule \.litespeed_conf\.dat - [F,L]

### marker CACHE RESOURCE start ###
RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
### marker CACHE RESOURCE end ###

### marker FAVICON start ###
RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
### marker FAVICON end ###

### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###

</IfModule>
## 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
SetEnvIf Request_URI ".*" AllowCountry

# BEGIN WordPress
# "BEGIN WordPress" から "END WordPress" までのディレクティブ (行) は
# 動的に生成され、WordPress フィルターによってのみ修正が可能です。
# これらのマーカー間にあるディレクティブへのいかなる変更も上書きされてしまいます。
<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

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
	php_flag display_errors Off
	php_value max_execution_time 9999
	php_value max_input_time 9999
	php_value max_input_vars 3000
	php_value memory_limit 4128M
	php_value post_max_size 200M
	php_value session.gc_maxlifetime 1440
	php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
	php_value upload_max_filesize 200M
	php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
	php_flag display_errors Off
	php_value max_execution_time 9999
	php_value max_input_time 9999
	php_value max_input_vars 3000
	php_value memory_limit 4128M
	php_value post_max_size 200M
	php_value session.gc_maxlifetime 1440
	php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
	php_value upload_max_filesize 200M
	php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit

SetEnvIf User-Agent "SemrushBot" jogai
SetEnvIf User-Agent "AhrefsBot" jogai
SetEnvIf User-Agent "Linguee" jogai
SetEnvIf User-Agent "proximic" jogai
SetEnvIf User-Agent "BLEXBot" jogai
SetEnvIf User-Agent "GrapeshotCrawler" jogai
SetEnvIf User-Agent "Mappy" jogai
SetEnvIf User-Agent "MJ12bot" jogai
SetEnvIf User-Agent "MegaIndex" jogai
SetEnvIf User-Agent "bidswitchbot" jogai
SetEnvIf User-Agent "SMTBot" jogai
SetEnvIf User-Agent "ltx71" jogai
SetEnvIf User-Agent "integralads" jogai
SetEnvIf User-Agent "jet-bot" jogai
SetEnvIf User-Agent "trendictionbot" jogai
SetEnvIf User-Agent "archive.org_bot" jogai
order Allow,Deny
Allow from all
Deny from env=jogai


<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 162.158.166.15

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