Ionicons, Bootstrap - Failed to load resource: the server responded with a status of 404 (Not Found)

烈酒焚心 提交于 2019-12-25 09:09:46

问题


The browser console reminds me of several errors that I can not correct.

Failed to load resource: the server responded with a status of 404 (Not Found)

Here the files concerned with their correct position in the FTP:

  • ../font/bootstrap/bootstrap.min.css
  • ../font/bootstrap/ionicons.ttf
  • ../font/bootstrap/ionicons.woff

Here my code in the <head> section:

<link rel="stylesheet" href="../../font/ionicons/ionicons.min.css">
<link rel="stylesheet" href="../../font/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="../../font/font-awesome/css/font-awesome.min.css">

I have tried all the following declarations but nothing works:

  • href="../font/bootstrap/bootstrap.min.css"
  • href="/font/bootstrap/bootstrap.min.css"
  • or href="//font/bootstrap/bootstrap.min.css"

Although this error message appears, Bootstrap and Ionicons are working correctly. I want to correct this error for performance reasons.

Here the website concerned: http://www.chokala-tenerife.com

Do you have a solution to solve this problem?

来源:https://stackoverflow.com/questions/43158130/ionicons-bootstrap-failed-to-load-resource-the-server-responded-with-a-statu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!