Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的链接是“ site.com/index.php?w=Mbv ”
我想看:“ site.com/Mbv ”
我尝试了 *mod_rewrite RewriteRule Generator* 和更多因为它没有人工作。
对不起,我的英语不好。
谢谢!
在 .htaccess 中写这个
RewriteEngine On RewriteRule ^([a-z0-9_-])$ /index.php?w=$1 [L,NC]