当前位置: 首页 https://www.mitaobo.com/6592.html 谁知道这个伪静态怎么设置??? https://www.mitaobo.com/6592.html 谁知道这个伪静态怎么设置???
共以下 3 个回答
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+)$ /$1.php [L,QSA]
RewriteRule ^(admin/)(.*)$ Admin/ [QSA,PT,L]