0

我有这个网址:

http://www.domain.com/search/madonna

并且这种情况正常运行:

RewriteRule ^search/(.+)?$ /index.php?s=$1 [QSA,L]

我想使用这个网址:

http://www.domain.com/search/madonna.html

但是这种情况不起作用,我收到 404 错误:

RewriteRule ^search/(.*)\.html$ index.php?s=$1 [QSA,L]

有什么帮助吗?

4

0 回答 0