本帖最后由 kaixinmaitian 于 2014-02-12 15:07:02 编辑
我想实现:http://www.xxx.com/十年站长生成器-1123.html 这种形式的的URL
使用下面这个规则,但是无效,不知错在什么地方
RewriteRule ^(.*)-(\d+)\.html newshow\.php?name=$1&id=$2
回复讨论(解决方案)
RewriteRule ^(.*)\-(\d+)\.html newshow.php?name=$1&id=$2
楼上的代码,试了还是不行呀。
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