いつもお世話になっております。
.htaccessに下記のように記述しました。
RewriteRule ^area/contact/+ AAA/BBB/CCC/contact/index.php [L] RewriteRule ^area/contact/index.html+ AAA/BBB/CCC/contact/index.php [L] RewriteRule ^area/contact/thanks.html+ AAA/BBB/CCC/contact/thanks.php [L]
上記のように記述しますと
area/contact/thanks.phpでアクセスするとindexが見えてしまいます。
RewriteRule ^area/contact/+ AAA/BBB/CCC/contact/index.php [L]
原因はこれだという事はわかってはいるのですが
area/contact/でアクセスした際にindexが表示でき、
なおかつarea/contact/thanks.htmlでアクセスしても
表示できるようにするにはどのように記述すれば良いのでしょうか?
初歩的な事なのかもしれませんが
何卒よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。