【问题标题】:Website redirecting to 404 Error page in IE网站重定向到 IE 中的 404 错误页面
【发布时间】:2014-01-13 22:54:34
【问题描述】:

我正在设计一个模板网站。该网站在除 IE 之外的所有浏览器中都能正常运行。
在 IE 中打开时,网站重定向到 404 错误页面。

网站链接:
http://www.fakhrolaemeh.com/index.aspx?pid=1

【问题讨论】:

    标签: html asp.net internet-explorer redirect


    【解决方案1】:

    试试这个。

    if(navigator.appName == 'Microsoft Internet Explorer'){
        alert('This is Internet Explorer');
        //Your redirection code here
    }
    

    【讨论】:

      【解决方案2】:

      这个网址好像没有图片

      http://www.fakhrolaemeh.com/Files/298/105/theme/mainbk.png

      将图像添加到此文件夹或在 asp 页面中将其删除。

      【讨论】:

      • 坦克 iam rempve 代码和 img mainbk.png 仅 ie 中的问题 仅 ie 中没有解决问题
      • 您应该尝试Trial and Error 方法来查找错误。就像删除页面中的一些元素并重新加载一样。这样做,直到它工作。
      • 问题已解决,因为文件 pie remove pie file not show masseg error 404 in ie Very tnx
      【解决方案3】:
      var navigatorAgent = navigator.userAgent;
      if(navigatorAgent.indexOf("MSIE") != -1) {
          //your redirection code comes here
      }
      

      或

      var browserName = navigator.appName;
      if( browserName === "Microsoft Internet Explorer") {
          //your redirection code comes here
      }       
      

      注意:如果使用 JQuery: $.browser 属性在 jQuery 1.3 中已弃用,其功能可能会在 jQuery 的未来版本中移至团队支持的插件中

      http://api.jquery.com/jQuery.browser/

      【讨论】:

        【解决方案4】:
        if(navigator.appName == 'Microsoft Internet Explorer'){
            alert('IE');
            //Your code
        }
        

        【讨论】:

        • 不要浏览器嗅探,特征检测。并且不要仅仅因为它是 IE 就提供不同的内容。在你的 CSS 中包含所有供应商特定的前缀,等等。
        【解决方案5】:

        问题解决了,因为文件馅饼 删除 pie 文件在 ie 中不显示 masseg 错误 404

        非常棒

        【讨论】:

        • 你好朋友如果问题是没有设置用于监视宽屏格式的格式,您建议什么解决方案
        • 当问题在于未设置用于监视宽屏格式的格式时,您提出什么解决方案 fakhrolaemeh.com/index.aspx?pid=1
        • 当问题在于未设置用于监视宽屏格式的格式时,您提出什么解决方案 fakhrolaemeh.com/index.aspx?pid=1
        猜你喜欢
        • 2014-10-01
        • 2015-04-17
        • 2023-03-27
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-08-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多