如何创建一个页面的网址别名? [英] How do I create an Alias for a page URL?

查看:141
本文介绍了如何创建一个页面的网址别名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

的login.aspx 文件夹服务器根目录/系统/页/登录/ 这个长的URL apears在网络broswer。如何将该网址映射到短版:<?code>服务器根目录/ login.aspx的

I have login.aspx in folder server-root/System/Pages/Login/ and this long URL apears in Web broswer. How to map this URL to short version: server-root/login.aspx?

我的意思是如何通过Visual Studio做到这一点。

I mean how to do this through Visual Studio.

我知道在Apache服务器重写规则,但不知道如何在VS 2010中做到这一点。

I know of rewrite rules in Apache server, but dont know how to do this in VS 2010.

推荐答案

下面是此一系列的解决方案

Here are a range of solutions to this

http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx

这篇关于如何创建一个页面的网址别名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆