|
原来的伪静态地址是这样的(现在打不开了)
https://www.abc.cn/thread-1112-1-1.html
现在伪静态后的地址是这样的
https://www.abc.cn/course-111211.html
就是想把这原来地址https://www.abc.cn/thread-1112-1-1.html 打开后直接跳到到新的地址上面 https://www.abc.cn/course-111211.html
这个应该怎么添加跳转规则,非常感谢!
原来的伪静态静态是这样的
<rule name="forum_viewthread">
<match url="^(.*/)*thread-([0-9]+)-([0-9]+)-([0-9]+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/forum.php\?mod=viewthread&tid={R:2}&extra=page%3D{R:4}&page={R:3}&{R:5}" />
</rule>
现在改成这样的伪静态规则
<rule name="forum_viewthread">
<match url="^(.*/)*course-([0-9]+)([0-9]+)([0-9]+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/forum.php\?mod=viewthread&tid={R:2}&extra=page%3D{R:4}&page={R:3}&{R:5}" />
</rule>
我知道答案
回答被采纳将会获得 1 贡献 已有0人回答
|
|