我有一个 htaccess 文件来帮助重写我的 ../players.php?first_name=Richard&last_name=Marston 的 url 这给了我 ../Richard%20Marston 的 url,这是我的 .htaccess 文件内容
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ players.php?first_name=$1&last_name=$2
IndexIgnore *
有人可以帮助并修改我当前的 .htaccess 文件,使其在没有 %20 的情况下读取,而是没有间隙,例如 ../RichardMarston ... 或使用 - 例如 ../Richard-Marston 用于配置文件页面
非常感激