开发者

rename url content

when url= http://www.iranfairco.com/MainPP.aspx?idCompany=142707090021 .

change content MainPP.aspx by idCompany for example idCompany=142707090021 equal companyName microsoft

no how can when user enter url: http://www.iranfairco.com/microsoft this equal above url

how can http://www.iranfairco.com/MainPP.aspx?idCompany=142707090021====url:http://www.iranfairco.com/microsoft开发者_如何学Go


You should use some url rewrite module (or write your own - it's not hard). For example: IIS URL Rewrite, also look here.

Look at also this thourough explanation of how URL Rewriting in ASP.NET works.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜