http://ice-phoenix.dx.am/jlpt/form/try_question.php
:http://ice-phoenix.dx.am/jlpt/try_question
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^jlpt/form/try_question.php$ jlpt/try_question/ [L]
有谁能帮我吗?
在根目录下试试。htaccess
RewriteEngine On
RewriteCond %{THE_REQUEST} /jlpt/form/([^.]+).php [NC]
RewriteRule ^ /jlpt/%1? [R,L]
RewriteRule ^jlpt/([^/]+)/?$ /jlpt/form/$1.php [L,NC]