サイト閉鎖時の htaccess 設定

「https htaccess」

RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

「サイト閉鎖時の転送」

RewriteBase /
RewriteEngine on
RedirectMatch 301 .* http://url/

「永久閉鎖の410を返す」

Redirect gone /