我们如何重写URL [英] How we can rewrite URL

查看:76
本文介绍了我们如何重写URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家

我想知道,是否可以将网址从www.abc.com/?businessID=1重写为businessName / www.abc.com。< br $> b $ b

我知道我们可以将参数从查询字符串替换为英文字母,但这是一个特定的场景。



在此先感谢

Hi Experts
I want to know that,is it possible to rewrite url from "www.abc.com/?businessID=1" to "businessName/www.abc.com".

I know we can replace parameter from query string to English letters but this is a specific scenario.

Thanks in Advance

推荐答案

请尝试下面的一个。



http://www.iis.net/learn/extensions/url- rewrite-module / creating-rewrite-rules-for-url-rewrite-module [ ^ ]
Kindly try the below one.

http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module[^]


这是一个url重写文章斯科特·格思里(Scott Guthrie),有点旧思想,但仍然乐于助人:

tip-trick-url-rewriting-with-asp-net [ ^ ]
Here is a url rewriting article by Scott Guthrie, a bit of an old one mind, but helpful nevertheless:
tip-trick-url-rewriting-with-asp-net[^]


这篇关于我们如何重写URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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