如何URL重写(仅删除.aspx表单页面URL) [英] HOW TO URL REWRITING (Remove Only .aspx form Page URL)
本文介绍了如何URL重写(仅删除.aspx表单页面URL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨..朋友,
在我的网页应用程序中,我只想从页面网址中删除.aspx。我在谷歌上搜索过并找到了许多复杂的解决方案,但我只需要一个简单的方法就是只删除.aspx。
例如。我的页面网址是:www.mydomain.com/careers.aspx
应如下所示:www.mydomain.com/careers或www.mydomain.com/ careers.html
请为我推荐任何链接或代码......
谢谢
Hi..friends,
In My web application i just want to remove only .aspx from page url. I have searched on google and found many complicated solutions but i have need only an easy way just to remove only .aspx.
For eg. My page url is : www.mydomain.com/careers.aspx
should be look like this :www.mydomain.com/careers or www.mydomain.com/careers.html
Please suggest me any link or code...
Thanks
推荐答案
你需要在全局文件中编写代码....
请求更多帮助???
U need to write the code in Global file....
Please ask for more help???
请看这些链接:
http://msdn.microsoft.com/en-us/library/cc668201%28v=vs.100%29。 aspx [ ^ ]
ASP.NET中的URL重写
使用URLRewriter.Net重写URL
完整的URL重写解决方案ASP.NET 2.0
使用ASP重写URL .NET
提示/技巧:使用ASP.NET重写URL
使用global.asax和web.config在ASP.NET中重写URL
Please see these links:
http://msdn.microsoft.com/en-us/library/cc668201%28v=vs.100%29.aspx[^]
URL Rewriting in ASP.NET
URL Rewriting with URLRewriter.Net
A Complete URL Rewriting Solution for ASP.NET 2.0
URL Rewriting with ASP.NET
Tip/Trick: Url Rewriting with ASP.NET
URL Rewriting in ASP.NET using global.asax and web.config
嗨Sonu,
可以在这里 [ ^ ]。
希望这对你有所帮助。
问候,
RK
Hi Sonu,
Answer for your question can be found here[^].
Hope this helps you a bit.
Regards,
RK
>
这篇关于如何URL重写(仅删除.aspx表单页面URL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文