复制asp.net重定向到旧网站而不是新网站 [英] copied asp.net redirecting to old site and not the new one
本文介绍了复制asp.net重定向到旧网站而不是新网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我是asp.net的新手。
我有一个复制的网站,我改变了以满足公司的需求。
我的问题是,在本地计算机上,它正在100%工作,但当我将其上传到Web服务器时,它总是重定向到另一个域,而不是我的。
我在这里做错了什么?
请协助?
Ndeza
Hi All,
I'm new to asp.net.
I have a copied site that I changed to suit the companies needs.
My problem is that on the local machine it's working 100% but when I upload it to the web server it always redirect's to the another domain and not mine.
What am I doing wrong over here?
Please assist?
Ndeza
推荐答案
显然,您忘记找到对旧网站的所有引用并进行更改。这些显然是网站中的硬编码字符串。
Obviously, you forgot to find all references to the old site and change them. These are apparently hard-coded strings in the site.
这篇关于复制asp.net重定向到旧网站而不是新网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文