网站进行url的伪静态之如何去掉后缀index.php

2024-10-30 21:23:21
推荐回答(1个)
回答1:

htaccess:
RewriteEngine On
RewriteRule ^/(.*?)\.php$ /$1