2
を除外します1つのファイル(myfile.html)それが正常に動作していないいくつかの理由についての.htaccessは<strong>robots.txtの</strong>と1、私は新しいドメインに、古いドメインをリダイレクトするが、<strong>非WWWホームページ</strong>を残すようにしようとしています新しいドメインに、古いドメインをリダイレクトするが、非WWW版、robots.txtの1つのファイル
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{REQUEST_URI} !/(myfile\.html|robots\.txt) [NC]
RewriteRule ^$ http://olddomanin.com [R=410,L]
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
:ここ は私がここ
all www.olddomain.com > all www.newdomain.com
olddomain.com > 404 error
olddomain.com/robots.txt > olddomain.com/robots.txt
olddomain.com/myfile.html > olddomain.com/myfile.html
を行うにしようとしていますものです、私は下にしようとしているものです。