profile.php?id=1&email=medicalboy@gmail.com を regex/profile/9/medicalboy@gmail.com のようなものに書き換えようとしました
しかし、ルールは機能しませんでした:
これは私がしたことです
php:
<a href="profile/<?php echo $row['userid']; ?>/<?=$row['email']; ?>"><?php echo $row['username']; ?></a><br />
htaccess
RewriteEngine On
RewriteBase /regex/
RewriteRule ^profile/([0-9]+)/(.*)$ profile.php?id=$1&email=$2 [L]
どうしたの?書き直しについてよく読んだけどどこが問題なのかわからない