更新时间:2023-11-07 23:12:10
如果您更改了所有链接,使它们看起来像这样:
If you've changed all of your links so that they look like this:
http://www.mywebsite.com/report/38678a80dfea5924
然后在报告"文件夹内的htaccess文件中,您只需要:
Then in the htaccess file inside the "report" folder, you just need:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ index.php?id=$1 [L,QSA]