Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
登录后,当我单击帖子中另一条消息的链接时,它会将我重定向到登录页面,但是如果我复制链接并从 URL 中删除 www,它不会将我重定向到登录页面?我在代码隐藏中使用 ASP.NET 和 VB.NET。当我从 url 复制链接并在消息中发布时,会出现此问题,然后单击该链接它将重定向到登录页面。但是,如果我从没有“”http:// www“的帖子中复制链接,那么它会正常工作。我在谷歌上搜索但没有发现任何有用的东西。
如果您使用的是 IIS 7 在左侧选择您的应用程序,然后在 Bindings 选项卡中单击右侧的绑定,添加新的绑定行“http:// ”和“www. ”