伪静态
想要效果是:
URL: abc/123456 跳到 abc/ 23456 //截取掉第一位
RewriteRule ^abc/(.*)$ abc/$1
$1是匹配到了的123456
如何在此修改呢
//.htaccess
回复讨论(解决方案)
RewriteRule ^abc/\w(.*)$ abc/$1
RewriteRule ^abc/\w(.*)$ abc/$1
哎呀,对啊,脑子转不过来圈了~
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn