需要重写网站的完整网址 [英] Need to rewrite complete URL of website

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

问题描述

Hi Team,



我们有关于重写网站网址的疑问。这是我的要求:

假设我们网站的网址是www.abc.com。现在我需要重新编写网址为

www.xyz.abc.com。在这里你可以看到,域名是相同的,但是xyz文本与网址一起添加。



注意:我们不需要将网址重定向到www。 xyz.abc.com。网站应该打开www.abc.com,但网址应该是www.xyz.abc.com。



谢谢和问候

Sunandan Dutt

Hi Team,

We have an query regarding re-writing url of website. Here is my requirement:
Let's suppose we have url of website is "www.abc.com". Now i need to re-write url as
"www.xyz.abc.com". Here you can see that, domain is same but "xyz" text is added with the url.

Note: we don't need to redirect url to "www.xyz.abc.com". website should open for "www.abc.com" but url should be "www.xyz.abc.com".

Thanks & Regards
Sunandan Dutt

推荐答案

最重要的工具是URL ReWrite: [ ^ ]



从描述中,我看不出为什么你不能简单地使用在IIS中配置的服务器重定向。用户不会看到这一点,加载页面没有延迟。



URL ReWrite非常强大,允许您使用模式匹配配置条件行为。
The most pwerful tool for this is URL ReWrite: [^]

From the description, I can't see why you couldn't simply use a server redirect configured in IIS. The user won't see this and there's no delay in loading the page.

URL ReWrite is very powerful and allows you to configure conditional behaviour using pattern matching.


这篇关于需要重写网站的完整网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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