Apache(.htacessの方が良い)で単純なURLの書き換えを行う必要があります 目的は単純化されたURLを取得することです。.htaccess単純なリダイレクト
次のようないくつかのフォルダを除き http://www.mysite.com/username/:
http://www.mysite.com/ana/
はので、私のユーザーが単純化されたURLを持っている... http://www.mysite.com/artiste-bio.php?username=ana
http://www.mysite.com/john/
http://www.mysite.com/artiste-bio.php?username=john
などに行くに
を行きます
http://www.mysite.com/images/
http://www.mysite.com/scripts/
http://www.mysite.com/admin/
これは.htaccessで行うことができるものですか?
よろしく
を試してみてください。難しい部分は、実際のディレクトリがリダイレクトされないようにする方法です。 –