Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^(css|js|images)
RewriteRule ([A-Za-z0-9-]+).html index.php?page=$1 [L]
これは私が得ることができる限りですが、私が必要とするすべての資格を満たしているようには見えません。基本的に、私のサイトのユーザーがmydomain.com/([A-Za-z0-9-]+).htmlにアクセスすると、サーバーにmydomain.com/index.php?page=$1を表示させます。他のファイル、または css、images、js、または js/util 以外のフォルダーに移動する場合、サーバーにmydomain.com/index.php を表示させたいですか? またはmydomain.com/index.php?page=。ご協力いただきありがとうございます!