wordpressfontsfont-faceembedded-fontsfont-embedding

@font-face not working on mirrored site


I have a wordpress installed site at http://lifebridgecypress.org, and then I also have http://lifebridgecypress.com, which mirrors the .org site. As you can see, the .com site's @font-face rules are not working.

Does anyone know a way to get this to work?


Solution

  • To redirect .com to .org, something along these lines in a .htaccess should do the trick. Requires mod_rewrite (which appears to be enabled on your sites).

    RewriteEngine on
    RewriteCond %{http_host} ^(www\.)?lifebridgecypress\.com$ [NC]
    RewriteRule ^(.*)$ http://lifebridgecypress.org/$1 [R=301,NC,L]