ケース1とケース2が連携していません。 .htaccessファイルからケース2を削除すると、ケース1が動作します。ケース1の前にケース2を書き込むと、ケース1は動作しますが、ケース2は動作しません。リライトルール競合.htaccess
ケース1:
RewriteRule /(.*)\.html storycategory.php?story=$1
例:
http://localhost/romoko1/story/bedroom.html
ケース2:
RewriteRule /(.*)\.html tag.php?tag=$1
例:
http://localhost/romoko1/tag/home-interior.html
'story /(.*).html storycategory.php?story = $ 1'と' tag /(.*).html tag.php?tag = $ 1'を試してみてください! –
その仕事は大変です... –
Okey!私の新しい答えをチェックしてください! –