• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 549
  • Last Modified:

WordPress Font Problem after transfer to new server

I just moved a site to http://www.alehnegevfoundation.org/ and now Ithe fonts do not display as expected. The FF console tells me of many errors in the fonts. For example:

TypeError: jQuery(...).carousel is not a function www.alehnegevfoundation.org:312
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://us-web1.cpanel-dns.com/~aleh/wp-content/themes/aleh/fonts/opensans-regular-webfont.woff. This can be fixed by moving the resource to the same domain or enabling CORS. opensans-regular-webfont.woff
downloadable font: download failed (font-family: "open_sansregular" style:normal weight:normal stretch:normal src index:1): bad URI or cross-site access not allowed
source: http://us-web1.cpanel-dns.com/~aleh/wp-content/themes/aleh/fonts/opensans-regular-webfont.woff style.css


Someone else designed the site, and I am not sure where these font errors are coming from. Any ideas?
Once solved, I will be changing the domain to the primary domain - this current domain is really just an alias until the site has finished testing.

THank you.
0
Lev Seltzer
Asked:
Lev Seltzer
1 Solution
 
KimputerCommented:
Download all those fonts, put them in your new website. Files could already be there though, then just find out where.
Adjust CSS file to point to the new site (so that the cross-site warnings will disappear)
0
 
Jason C. LevineNo oneCommented:
If you went from a testing URL to a live URL you may have bad URLs in the database now.

Try going through the steps listed here:

http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_10258-How-To-Move-A-WordPress-Site.html

Especially the 4 MySQL queries you can run to update your database without having to do export/edit/import.
0
 
Lev SeltzerAuthor Commented:
Perfect. I used the 4 SQL statements and everything is fine.

Thank you.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now