我有一个窗口托管Godaddy的静态web应用程序。这将是什么URL重写规则?
在我的应用我有网址,象下面这样:
http://MyDomain.com/?page_id=18
http://MyDomain.com/?page_id=19
http://MyDomain.com/?page_id=20
而且我要重写的网址是这样的:
http://MyDomain.com/microsoft-cloud-crm-for-small-business
http://MyDomain.com/online-development
http://MyDomain.com/small-development
那么,什么将是网络的URL重写规则。配置文件..?
编辑:
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
<rewrite>
<rules>
<rule name="Rewrite url" stopProcessing="true">
<match url="^\?page_id=18" />
<action type="Rewrite" url="microsoft-cloud-crm-for-small-business" />
</rule>
<rule name="Rewrite url1">
<match url="^\?page_id=21" />
<action type="Rewrite" url="Implementation" />
</rule>
</rules>
</rewrite>
</system.webServer>
<system.web>
<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>
</configuration>
在此先感谢。
确实以下帮助? –