首页 > 解决方案 > 如何重写 URL 越南语字符 IIS Web.Config

问题描述

我想用越南字符重写 URL

<rule name="Detail Product">
    <match url="^Product-Detail/([a-zA-Z0-9_-]+).html$" ignoreCase="false" />
    <action type="Rewrite" url="index.php?page={R:0}&amp;id={R:1}" appendQueryString="true" />
</rule>

最后:

localhost/Product-Detail/con-ga-ha-ha-5.html工作

localhost/Product-Detail/con-gà-há-há-5.html不工作

标签: c#asp.netiisurl-rewriting

解决方案


推荐阅读