未找到 Bootstrap 中的某些 Glyphicons

Some Glyphicons in Bootstrap not found

我正在尝试在 Bootstrap 中使用 Glyphicons,但出现此错误:

> http://address/fonts/glyphicons-halflings-regular.woff2
> http://address/fonts/glyphicons-halflings-regular.woff  GET
> http://address/fonts/glyphicons-halflings-regular.ttf 404 (Not Found)

我不知道该怎么办,我已经尝试了 Whosebug 上提出的所有解决方案。

只需使用

<span class="glyphicon glyphicon-search" aria-hidden="true"></span>

寻找其他

glyphicon glyphicon-*

http://getbootstrap.com/components/#glyphicons-glyphs

并确保包含 bootstrap css

尝试在您的 .htaccess 中添加 ttf|woff|woff2

RewriteRule !.(js|css|ico|gif|jpg|png|mp4|ttf|woff|woff2)$ index.php