http://localhost/shorter/?aQ3d4B
(http://localhost/shorter/index.php?aQ3d4B)
我想重定向url没有问号。我不能重定向URL与重写规则
so;
http://localhost/shorter/aQ3d4B
这是行不通的。
Options +FollowSymLinks
RewriteEngine on
RewriteRule shorter/(.*)/ ?$1
RewriteRule shorter/(.*) ?$1
我必须写入.htaccess文件。
你能为我写的代码? –
请输入一点.htaccess知识。如果你寻找自己,你会学到更多。 您是否阅读过上述评论中的网址?它也为您提供解决方案。 – Edd
我想尽一切办法,但我canttttt! –