重複の可能性:
*.phpをクリーンURLにリダイレクトする
これは以前にここで尋ねられたことがあると思いますが、何らかの理由で私が試していることはうまくいかないようです。
私が持っているのは: http ://example.com/share/edit.php?id = 59
私が欲しいのは: http ://example.com/share/59
私.htaccessは:
RewriteEngine on
RewriteRule ^share/([0-9]+)$ share/edit.php?id=$1
私が間違っていることはありますか?.htaccessファイルはディレクトリにありexample.com/shareます。