2014-03-02 41 views

回答

1

您可以使用:

RewriteEngine On 
RewriteRule ^place/([^.]+)\.html$ /place/index.php?slug=$1 [L,QSA,NC] 

OR

RewriteRule ^([^/]+)/([^.]+)\.html$ /$1/index.php?slug=$2 [L,QSA,NC]