ここ ( http://css-tricks.com/snippets/htaccess/temporary-maintenance-using-mod_rewrite/ )で見つけた手法を使用して、最大 6 時間の一時的なメンテナンス ページを作成する予定です。コードは次のようになります。
# Don't forget to turn on the rewrite engine
RewriteEngine on
# Maintenance Redirection
# Replace 555\.555\.555\.555 with your own IP address
# Uncomment first conditional to turn off the redirection
# RewriteCond %{REQUEST_URI} ^$a
RewriteCond %{REQUEST_URI} !maintenance.html
RewriteCond %{REQUEST_FILENAME} !(styles|images).+$
RewriteCond %{REMOTE_ADDR} !^555\.555\.555\.555$
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$
RewriteRule (.*) /maintenance.html [R,L]
このアプローチを使用する際に注意すべきことはありますか? これを行った場合、長期的な SEO/Google 検索ランクの問題が発生することはありますか? お知らせ下さい。