Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^news/([^/]+) /casino2/newsdetail.php?newsid=$1 [NC]
現在、上記のコードを使用し て、2つのクエリ文字列から1つのURLを作成しようとしています。たとえば、URLがそうである場合http://localhost/casino2/newsdetail.php?newsid=3、
URLはそうあるべき ですか?http://localhost/casino2/news/3localhost/casino2/newsdetail.php?newsid=3pagename=articlelocalhost/casino2/news/article