.htaccess ファイルがあり、www.example.com/demo/index.php と入力するたびに、ループでリダイレクトされ続けます。なぜこれが起こっているのか、私は本当に混乱しています。
# Do not remove this line, otherwise mod_rewrite rules will stop working
RewriteBase /
Options +Multiviews
AddHandler application/x-httpd-php .css
AddHandler application/x-httpd-php .js
RewriteEngine On
#NC not case sensitive
#L last rule don't process futher
#R 301 changes the url to what you want
RewriteRule ^demo(.*)$ finished$1 [NC]
RewriteCond %{REQUEST_URI} ^/finished/.*$
RewriteRule ^finished/(.*)$ demo/$1 [NC,R=301,L]