0
私の.htaccessファイルのRewriteRuleロジックに問題があります。.htaccess ignoring RewriteRule
私のクエリは次のようになります?
ドメイン/レシピ/ショーのid = 2
そして私は、それは次のようになりたい:
ドメイン/レシピ/ 2 /ショー
私の.htaccessファイルは、次のようになります。
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php
RewriteCond %{REQUEST_URI} recipe/(.*)
RewriteRule show/(.*) recipe/show?id=$1
私はずっとこれを見つめていて、問題は見えません。私のhtaccessファイルには何もありません。