如何在asp.net中的web.config中通过URL重写指定301重定向页面 [英] How to specify 301 redirect page via url rewrite in web.config in asp.net

查看:330
本文介绍了如何在asp.net中的web.config中通过URL重写指定301重定向页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



目前,我已经通过global.asax文件集成了301重定向,这使得该网站的执行速度很慢.

这样我想在web.config的URL重写部分中集成301重定向规则.

请为此提供任何帮助.


在此先谢谢您.



currently i have integrated 301 redirection via global.asax file, that making slow execution of the site.

So that i want to integrated 301 redirect rule in url rewrite section of web.config.

Please provide any help for this.


Thanks in advance.

推荐答案

http://productforums.google.com/forum/#!topic/webmasters/YtSZwsqLfE8 [ http://weblogs. asp.net/jeffwids/archive/2010/01/31/how-to-301-permanent-redirect-in-asp-net.aspx [ http://www.webconfs.com/how-to-redirect-a-webpage.php [^ ]
http://productforums.google.com/forum/#!topic/webmasters/YtSZwsqLfE8[^]

http://weblogs.asp.net/jeffwids/archive/2010/01/31/how-to-301-permanent-redirect-in-asp-net.aspx[^]

http://www.webconfs.com/how-to-redirect-a-webpage.php[^]


这篇关于如何在asp.net中的web.config中通过URL重写指定301重定向页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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