<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^willstyle\.sakura\.ne\.jp$
RewriteRule ^(.*)$ https://www.willstyle.co.jp/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^willstyle.co.jp$
RewriteCond %{REQUEST_URI} !^/app/wp-cron.php$
RewriteRule ^(.*)$ https://www.willstyle.co.jp/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.willstyle.co.jp$
RewriteCond %{ENV:HTTPS} !^on$
RewriteCond %{HTTP:X-Sakura-Forwarded-For} ^$
RewriteCond %{REQUEST_URI} !^/app/wp-cron.php$
RewriteRule ^(.*)$ https://www.willstyle.co.jp/$1 [R=301,L]
</IfModule>