• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / CORS Error with Google Fonts After Domain Transfer

CORS Error with Google Fonts After Domain Transfer

  • Unknown's avatar
    expandspace · Member · Mar 12, 2025 at 4:56 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hello WordPress Support,

    I am encountering a persistent issue where Google fonts are not displaying correctly on my live site (https://expandspace.com) after transferring the domain from GoDaddy. The site was originally built on a staging URL (https://exsdev2025.wpcomstaging.com) before the domain transfer.

    Issue:

    Google fonts are not appearing, and the console shows CORS policy errors indicating that font files are still being fetched from the staging URL (https://exsdev2025.wpcomstaging.com).

    Example Error:

    Access to fetch at ‘https://exsdev2025.wpcomstaging.com/wp-content/uploads/elementor/google-fonts/fonts/poppins-pxigyp8kv8jhgfvrjjluchta.woff2’ from origin ‘https://expandspace.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    Troubleshooting Steps Attempted:

    1. Regenerating CSS & Clearing Cache:
      • Cleared outdated CSS files via Elementor > Tools > Regenerate CSS & Data.
      • Cleared WordPress and browser cache.
    2. URL Replacement via Plugins:
      • Used Better Search Replace to replace https://exsdev2025.wpcomstaging.com with https://expandspace.com (0 rows affected).
      • Tried WP Migrate Lite, but no Find & Replace option was available.
    3. Using Elementor’s Built-in URL Replace Tool:
      • Attempted URL replacement via Elementor > Tools > Replace URL.
    4. Database Inspection:
      • Checked wp-config.php for staging URL references but found none.
    5. Console & Network Check:
      • Verified that requests are still being made to the staging URL.

    Could you help me resolve this issue and ensure that all font requests are properly redirected to https://expandspace.com? Please advise if there’s a way to update all URLs to point to the live domain or fix the CORS issue effectively.

    Thank you!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    staff-semaj · Staff · Mar 24, 2025 at 10:14 am
    • Copy link Copy link

    Hey! @expandspace

    It looks like you managed to follow the suggestion in the shared bug report and the issue no longer occurs. The latest comment in the report also suggests this should be permanently fixed in a new update.

    Let us know if you still need help! By the way, I noticed your site is on a paid plan so feel free to request our Expert Support for quicker responses in future.

  • The topic ‘CORS Error with Google Fonts After Domain Transfer’ is closed to new replies.

Tags

  • account
  • CSS
  • design
  • Domain
  • import
  • Jetpack

About this topic

  • In: Support
  • 3 participants
  • 1 reply
  • Last activity 9 months
  • Latest reply from expandspace

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions