Htaccess File

wangyuxing888/tp/master/.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php/$1 [L]
    
    RewriteRule ^(.*)/category-([0-9]+).html index.php?cate=$2

    
</IfModule>
Exit mobile version