Meiam 大佬有话说 :
.htaccess URL Rewrite 规则问题请教
本帖最后由 Meiam 于 2020-4-16 11:10 编辑
想设置 访问 http://xxx.cn/?c=123456 重写成 http://xxx.cn/abc.php?c=123456
这种 http://xxx.cn/c=123456 不带问号的没问题,但是带问号的用 ^?c=(.*) 匹配不生效
RewriteEngine on
RewriteBase /
RewriteRule ^?c=(.*) abc.php?c=$1
一个不知名网友 大佬有话说 :
这个我就不知道了嗷 哈哈哈
Meiam 大佬有话说 :
RewriteEngine on
RewriteBase /
RewriteRule ^?c=(.*) abc.php?c=$1