Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/10/2016, 06:05
sfumatto
 
Fecha de Ingreso: junio-2008
Mensajes: 54
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: Problemas con fuente alojada en propio servidor

No fme funciona el código.

En principio he colocado el código en el htaccess de wordpress, quedando de esta manera:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


# END WordPress


# BEGIN REQUIRED FOR WEBFONTS

AddType font/ttf .ttf
AddType font/eot .eot
AddType font/otf .otf
AddType font/woff .woff

<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>

# END REQUIRED FOR WEBFONTS