【发布时间】:2020-05-21 21:54:24
【问题描述】:
<rule name="blog categories" stopProcessing="true">
<match url="/?blog/categories/([^/]+)/" />
<action type="Redirect" url="/blog/cat={R:1}" />
</rule>
这是 web.config 中的代码,可能对您有所帮助。 我的网址:capcom/?page=2 我想删除“?”来自 url 或 '/'。
【问题讨论】:
-
您能否提供几个您想要实现的重定向示例。例如:
page/A/url->pageB/url -
/pk/automotive-motorcycles/?page=1
-
您要将其重定向到哪个网址?
标签: asp.net model-view-controller url-rewriting umbraco