[英]“Failed to load resource: the server responded with a status of 404 (Not Found) ”and 403 forbidden(But works fine in codepen and localhost)
This is the codepen demo it works fine .The same after uploading to server stops working properly and almost all the external references are showing 404.In the initial week there was no such problem after that its like This !--> http://sachin.ipoverload.com/almostComplete.html 这是codepen演示程序,可以正常工作 。上载到服务器后相同,停止正常工作,几乎所有外部引用都显示404.在最初的一周内,就没有像这样的问题了!-> http:// sachin.ipoverload.com/almostComplete.html
Using absolute urls 使用绝对网址
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
why is this happening 403 Forbidden error in server but not in codepen why ?? 为什么在服务器中发生403 Forbidden错误,但在Codepen中却没有?为什么 ?
For me it looks like you have different urls on your website. 对我来说,您的网站上似乎有不同的网址。
This is what I find on section: http://maxcdn.bootstrapcdn.com/A.bootstrap,,_3.2.0,,_css,,_bootstrap.min.css+font-awesome,,_4.1.0,,_css,,_font-awesome.min.css,Mcc.t3GI5K-i_L.css.pagespeed.cf.NJHTdcjXGM.css 这是我在以下部分找到的内容: http : //maxcdn.bootstrapcdn.com/A.bootstrap、_3.2.0、_css、_bootstrap.min.css+font-awesome、_4.1.0、_css, _font-awesome.min.css,Mcc.t3GI5K-i_L.css.pagespeed.cf.NJHTdcjXGM.css
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.