ich meine Schriften wie diese bin Aufruf:404 Fehler beim IE lädt Schriftarten
@font-face {
font-family: 'dinar';
src: url('../fonts/dinarm.eot?#'),
local('?'),
local('Mj_Dinar Two Medium'),
url('../fonts/dinarm.woff') format('woff'),
url('../fonts/dinarm.ttf') format('truetype'),
url('../fonts/dinarm.svg') format('svg');
font-weight: normal;
font-style: normal
}
@font-face {
font-family: 'font-bmi';
src: url('../fonts/font-bmi/font-bmi.eot');
src: url('../fonts/font-bmi/font-bmi.eot') format('eot'),
url('../fonts/font-bmi/font-bmi.woff') format('woff'),
url('../fonts/font-bmi/font-bmi.ttf') format('truetype');
font-weight: normal;
font-style: normal
}
Jedes Mal, einige Benutzer mit dem Internet Explorer auf die Site zuzugreifen versucht, ich viele 404-Fehler in Web-Host Nutzungsprotokoll sehen und Schließlich wird der Benutzer von meinem Sicherheits-Plugin gesperrt. Es ist ein Beispiel für Nutzungsprotokoll:
80.00.000.146 - - [05/Apr/2017:00:46:10 +0430]
"GET /wp-content/themes/fonts/font-bmi/font-bmi.eot)%20format(%22eot%22),
%20url(../fonts/font-bmi/font-bmi.woff)%20format(%22woff%22),
%20url(../fonts/font-bmi/font-bmi.ttf)%20format(%22truetype%22 HTTP/1.1" 404 4058
"http://www.21tech.ir/some-page/" "Mozilla/4.0
(compatible; MSIE 8.0; Windows NT 5.1; --some other information--)"
Ich weiß, es Mozilla/4.0
schrieb, aber es ist IE tatsächlich ich habe es ausprobiert.
Was ist das Problem und wie kann es gelöst oder vermieden werden?
Der Pfad zur CSS-Datei selbst relativ sein sollte, und nicht von der Seite, die die CSS nennt. Ist es der richtige Weg? – iguypouf
@iguypouf Ja, es passiert nur mit IE. – ata