はい、.htaccessを使用してアクセスをフィルタすることができます。
RewriteEngine On
RewriteBase/
# Your IP Address
RewriteCond %{REMOTE_ADDR} !^192\.168\.0\.1$
# More IPs
#RewriteCond %{REMOTE_ADDR} !^255\.255\.255\.255$
RewriteCond %{REQUEST_URI} !^/soon.html$
# If you need to also give access to some specific folder (for example images)
# you can use the following instruction
#RewriteCond %{REQUEST_URI} !^/images/.*$
# This line says: redirect to soon.html.
# This is a redirect (sent back to the browser), so the full URL is required.
# We're using 302 because sooner or later you'll open the website for everyone.
RewriteRule ^(.*)$ http://www.example.com/soon.html [R=302,L]
はちょうどあなたの.htaccessにこれを入れて(他のすべての命令の前にあなたがそこに持っているかもしれない)とIPをsoon.htmlにリダイレクトされることはありません、誰も。
このようにして、最終的なウェブサイトが存在するパスと同じパスで開発を続けることができます。
注: これにより、サードパーティエンティティからのpingbackを含む他のすべてのIPがフィルタリングされます。 PayPal IPNまたはWebサイトとのコミュニケーションが必要な他のゲートウェイを使用している場合は、そのIPを.htaccessに手動で追加する必要があります(コード自体で説明したように)。
うまくいけば、これが役に立ちます。
http://codex.wordpress.org/Moving_WordPressは、ほとんどのご質問にお答えします。 –
うわー、ありがとうございます!素晴らしいリンク! – Marshal