ワードプレスで記事を投稿し、
example.com/japanese/1
がURLの場合
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /japanese/index.php [L]
</IfModule>
# END WordPress
だと記事表示されます。
しかし、
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /japanese/index.php [L,R=301]
</IfModule>
# END WordPress
に変えると トップにリダイレクトされるようになります。
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /japanese/index.php [L]
ここを見ますと
ファイル、ディレクトリがない場合 /japanese/index.php にリライト
という理解であっておりますか?