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.
精彩评论