.htaccess 配置

RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php

#RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

Jason.wang

When you find your talent can't afford to be ambitious, be quiet and study !

You may also like...