Wordpressのは.htaccess
にこのコードを使用しています。wordpress permalinkシステムはどのように機能しますか?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
最初の質問を、平均以下のコードの行何ん:
RewriteRule ^index\.php$ - [L]
次の事は、私はindex.php
がこれをどのように処理するか分からないです。
website.pl/One-two-Five
.htaccess
がindex.php
に私をリダイレクトします:私はこのURLを入力した場合ので、すべてのURLが
... index.php
にリダイレクトされ
webiste.pl/index.php
をしかし、情報がない、私はQUERY_STRING
を意味しますか何か。それはのようなものではありません。
website.pl/index.php?data=One-two-Five
ではなく、それだけである:
website.pl/index.php
そして、これは単なるindex.php
です...それでは、どのようindex.php
がこれを可能にしていますか? WordPressはこれをどのように処理しますか?私は答えを見つけることができません。これはWordPressの仕組みですか?