{"id":1657,"date":"2026-11-23T15:57:03","date_gmt":"2026-11-23T15:57:03","guid":{"rendered":"https:\/\/www.ahosting.net\/blog\/?p=1657"},"modified":"2026-11-23T17:52:38","modified_gmt":"2026-11-23T17:52:38","slug":"font-blocked-by-cors-policy-wordpress","status":"publish","type":"post","link":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/","title":{"rendered":"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)"},"content":{"rendered":"\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"How do you fix a font blocked by CORS policy on a WordPress site in 2026?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Typically you add an Access-Control-Allow-Origin header on the server that hosts the font file, then confirm it with curl -I. In our Chrome 158 lab, three of nine font setups loaded and the six failures had four different causes, so read the console reason first.\"}}, {\"@type\": \"Question\", \"name\": \"Is Access-Control-Allow-Origin * vs a single origin the safer choice for a font blocked by CORS policy?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Specifically, both loaded the font in our lab. MDN says the wildcard should only be used for public resources, and a font file is public by design, so in our view the wildcard is reasonable for fonts. One exact origin also works, but it must match the page scheme, host and port.\"}}, {\"@type\": \"Question\", \"name\": \"Does the AHosting plan I choose change whether a font is blocked by CORS policy in 2026?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Overall, no. The error comes from a missing or mismatched header, or from a bad font URL, not from plan size, so a bigger plan will not clear it. Moving the font to the same host as the page removes the cross-origin request entirely.\"}}, {\"@type\": \"Question\", \"name\": \"Why does a WordPress font show a CORS error when the real problem is a 404 or 500 response?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"In practice the browser checks the header before it cares about the status. In our lab a missing file and a 500 response both printed the No Access-Control-Allow-Origin line because the error response carried no header. With the header on the 404, Chrome printed no CORS line, so check the status with curl -I first.\"}}, {\"@type\": \"Question\", \"name\": \"What should I send AHosting support when a font is still blocked by CORS policy after I add the header?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Specifically, open a ticket with the exact console line, the font URL and the output of curl -I on that URL, and we will look at it with you. None of those three items contains a password or key.\"}}, {\"@type\": \"Question\", \"name\": \"Does Vary: Origin matter when a font is blocked by CORS policy behind a cache or CDN?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Notably, yes when the header value changes with the caller. In our nginx cache test, a response without Vary: Origin was stored for the first origin and served to the second origin with the first origin value. With Vary: Origin the cache kept one copy per origin. A fixed header value such as * does not need it.\"}}, {\"@type\": \"Question\", \"name\": \"Can a www vs non-www mismatch leave a font blocked by CORS policy even on one domain in 2026?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Indeed, yes. An origin is the scheme, host and port together, so the apex host and the www host are two origins. In our lab a page on the apex host requesting a font from the www host was blocked until that font response carried a matching header.\"}}, {\"@type\": \"Question\", \"name\": \"Why does an image from another host load while a font from that host is blocked?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"In other words, the two requests use different modes. A plain img tag does not need permission to display the file, while a font is fetched in CORS mode under the CSS Fonts specification.\"}}, {\"@type\": \"Question\", \"name\": \"Does WordPress core send an Access-Control-Allow-Origin header for font files like it does for the REST API?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"In fact, no. In the three core files we read, only the REST API and admin-ajax.php send that header, and both run PHP. A font is a static file, so the header has to come from the server or CDN configuration.\"}}, {\"@type\": \"Question\", \"name\": \"What is the simplest way to keep a font from being blocked by CORS policy on an AHosting WordPress site?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Typically, serve the font from the same host as the page. A same-origin font loaded in every one of our tests and needs no header. If the font must live on another host, the header goes on that host.\"}}]}<\/script>\n\n\n<div class=\"wp-block-aioseo-table-of-contents\"><ul><li><a class=\"aioseo-toc-item\" href=\"#blocked-by-cors-policy-what-the-font-error-means\">Blocked by CORS Policy: What the Font Error Means<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#why-a-font-is-blocked-by-cors-policy-when-an-image-loads-fine\">Why a Font Is Blocked by CORS Policy When an Image Loads Fine<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#nine-setups-blocked-by-cors-policy-or-allowed-our-lab-results\">Nine Setups Blocked or Allowed: Our Lab Results<\/a><ul><li><a class=\"aioseo-toc-item\" href=\"#three-findings-from-our-blocked-by-cors-policy-test\">Three Findings From Our Blocked by CORS Policy Test<\/a><\/li><\/ul><\/li><li><a class=\"aioseo-toc-item\" href=\"#fix-a-font-blocked-by-cors-policy-read-the-reason-first\">Fix a Blocked Font: Read the Reason First<\/a><ul><li><a class=\"aioseo-toc-item\" href=\"#a-font-blocked-by-cors-policy-because-the-header-is-missing\">A Font Blocked by CORS Policy Because the Header Is Missing<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#a-font-blocked-by-cors-policy-because-the-header-names-the-wrong-origin\">A Font Blocked by CORS Policy Because the Header Names the Wrong Origin<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#a-font-blocked-by-cors-policy-that-is-really-a-404-or-500\">A Font Blocked by CORS Policy That Is Really a 404 or 500<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#a-redirect-behind-the-blocked-by-cors-policy-line\">A Redirect Behind the Blocked by CORS Policy Line<\/a><\/li><\/ul><\/li><li><a class=\"aioseo-toc-item\" href=\"#where-to-add-the-header-for-a-font-blocked-by-cors-policy\">Where to Add the Header for a Font Blocked by CORS Policy<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#triage-a-font-blocked-by-cors-policy-in-two-questions\">Triage a Font Blocked by CORS Policy in Two Questions<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#the-www-mismatch-that-gets-a-font-blocked-by-cors-policy\">The WWW Mismatch That Gets a Font Blocked by CORS Policy<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#a-cached-font-still-blocked-by-cors-policy-after-the-fix\">A Cached Font Still Blocked by CORS Policy After the Fix<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#what-wordpress-sends-for-rest-and-admin-ajax-and-why-fonts-differ\">What WordPress Sends for REST and admin-ajax, and Why Fonts Differ<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#when-a-font-blocked-by-cors-policy-points-to-a-bigger-plan\">When a Font Blocked by CORS Policy Points to a Bigger Plan<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-font-blocked-by-cors-policy-wordpress\">Frequently Asked Questions: Blocked by CORS Policy<\/a><ul><li><a class=\"aioseo-toc-item\" href=\"#faq-fix-font-blocked-by-cors-policy-2026\">How do you fix a font blocked by CORS policy on a WordPress site in 2026?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-wildcard-vs-single-origin\">Is Access-Control-Allow-Origin * vs a single origin the safer choice for a font blocked by CORS policy?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-ahosting-plan-changes-cors\">Does the AHosting plan I choose change whether a font is blocked by CORS policy in 2026?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-cors-line-but-404-or-500\">Why does a WordPress font show a CORS error when the real problem is a 404 or 500 response?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-send-ahosting-support-cors\">What should I send AHosting support when a font is still blocked by CORS policy after I add the header?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-vary-origin-behind-cache\">Does Vary: Origin matter when a font is blocked by CORS policy behind a cache or CDN?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-www-vs-apex-same-domain\">Can a www vs non-www mismatch leave a font blocked by CORS policy even on one domain in 2026?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-image-loads-font-blocked\">Why does an image from another host load while a font from that host is blocked?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-wordpress-core-font-header\">Does WordPress core send an Access-Control-Allow-Origin header for font files like it does for the REST API?<\/a><\/li><li><a class=\"aioseo-toc-item\" href=\"#faq-simplest-way-ahosting-font\">What is the simplest way to keep a font from being blocked by CORS policy on an AHosting WordPress site?<\/a><\/li><\/ul><\/li><\/ul><\/div>\n\n\n<div class=\"ah-tldr\">\n  <span class=\"ah-tldr-badge\">TL;DR<\/span>\n  <p>A font blocked by CORS policy means the browser asked another origin for the font file and the response did not carry an Access-Control-Allow-Origin header that matches the page. In our Chrome 158 lab, 6 of 9 font setups failed, and a missing file or a server error printed the same console line as a missing header. Read the reason, run curl -I on the font URL, then add the header on the host that serves the font.<\/p>\n<\/div>\n\n\n\n<figure class=\"wp-block-audio\"><audio preload=\"none\" controls src=\"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/PODCAST-font-blocked-by-cors-policy-wordpress.m4a\"><\/audio><figcaption class=\"wp-element-caption\">Listen: what the console reason means and which check to run first. By Matt Chrust, Director of Business Development, AHosting.<\/figcaption><\/figure>\n\n\n\n<h2 id=\"blocked-by-cors-policy-what-the-font-error-means\" class=\"wp-block-heading\">Blocked by CORS Policy: What the Font Error Means<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When Chrome reports that a font has been blocked by CORS policy, it asked another origin for a font file and the answer did not include permission. The console line names the font URL, the page origin and a reason. The reason is the part that tells you what to fix. Meanwhile the page falls back to a default font, so the site looks wrong but keeps working.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An origin is the scheme, host and port taken together, so the apex host and the www host of one domain are two origins. The <a href=\"https:\/\/drafts.csswg.org\/css-fonts-4\/#font-fetching-requirements\" target=\"_blank\" rel=\"noopener\">CSS Fonts specification<\/a> says a font is fetched with CORS mode set to cors, and adds a note that fonts are not loaded cross-origin unless the author permits it with the Access-Control-Allow-Origin header. That one rule is why fonts and icon fonts fail after a CDN, a subdomain or a www change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We reproduced the error on purpose instead of repeating advice. Everything below comes from nine font setups in Chrome 158 against nginx 1.31.6 on one Mac. It is a lab, not an AHosting server.<\/p>\n\n\n\n<h2 id=\"why-a-font-is-blocked-by-cors-policy-when-an-image-loads-fine\" class=\"wp-block-heading\">Why a Font Is Blocked by CORS Policy When an Image Loads Fine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A page can display an image from any host, yet it cannot read a font from just any host. We tested both against one cross-origin URL with no header on the response. A plain img tag loaded the file. The same URL requested with the crossorigin attribute set to anonymous failed with a CORS line that read Access to image instead of Access to font.<\/p>\n\n\n\n<div class=\"ah-infographic\">\n<svg viewBox=\"0 0 720 300\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" aria-label=\"An image tag loads a cross-origin file without a header, but a font request in CORS mode is blocked without one\">\n<title>Image request versus font request<\/title>\n<desc>Two lanes. In the top lane an img tag requests a file from another host, the response has no Access-Control-Allow-Origin header, and the image is shown. In the bottom lane a font request is sent in CORS mode with an Origin header, the response has no matching header, and the browser blocks the font.<\/desc>\n<rect x=\"0\" y=\"0\" width=\"720\" height=\"300\" rx=\"12\" fill=\"#f8fafc\"\/>\n<text x=\"24\" y=\"38\" font-family=\"Arial, sans-serif\" font-size=\"16\" font-weight=\"700\" fill=\"#0f172a\">Same cross-origin file, no header on the response<\/text>\n<text x=\"24\" y=\"86\" font-family=\"Arial, sans-serif\" font-size=\"14\" font-weight=\"700\" fill=\"#334155\">Plain img tag<\/text>\n<rect x=\"24\" y=\"100\" width=\"150\" height=\"48\" rx=\"8\" fill=\"#e2e8f0\"\/>\n<text x=\"99\" y=\"130\" text-anchor=\"middle\" font-family=\"Arial, sans-serif\" font-size=\"13\" fill=\"#0f172a\">Request, no CORS<\/text>\n<line x1=\"174\" y1=\"124\" x2=\"270\" y2=\"124\" stroke=\"#64748b\" stroke-width=\"2\"\/>\n<rect x=\"270\" y=\"100\" width=\"190\" height=\"48\" rx=\"8\" fill=\"#e2e8f0\"\/>\n<text x=\"365\" y=\"130\" text-anchor=\"middle\" font-family=\"Arial, sans-serif\" font-size=\"13\" fill=\"#0f172a\">200, no header<\/text>\n<line x1=\"460\" y1=\"124\" x2=\"530\" y2=\"124\" stroke=\"#64748b\" stroke-width=\"2\"\/>\n<rect x=\"530\" y=\"100\" width=\"166\" height=\"48\" rx=\"8\" fill=\"#dcfce7\"\/>\n<text x=\"613\" y=\"130\" text-anchor=\"middle\" font-family=\"Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#14532d\">Image is shown<\/text>\n<text x=\"24\" y=\"206\" font-family=\"Arial, sans-serif\" font-size=\"14\" font-weight=\"700\" fill=\"#334155\">Font in CORS mode<\/text>\n<rect x=\"24\" y=\"220\" width=\"150\" height=\"48\" rx=\"8\" fill=\"#e2e8f0\"\/>\n<text x=\"99\" y=\"250\" text-anchor=\"middle\" font-family=\"Arial, sans-serif\" font-size=\"13\" fill=\"#0f172a\">Request with Origin<\/text>\n<line x1=\"174\" y1=\"244\" x2=\"270\" y2=\"244\" stroke=\"#64748b\" stroke-width=\"2\"\/>\n<rect x=\"270\" y=\"220\" width=\"190\" height=\"48\" rx=\"8\" fill=\"#e2e8f0\"\/>\n<text x=\"365\" y=\"250\" text-anchor=\"middle\" font-family=\"Arial, sans-serif\" font-size=\"13\" fill=\"#0f172a\">200, no header<\/text>\n<line x1=\"460\" y1=\"244\" x2=\"530\" y2=\"244\" stroke=\"#64748b\" stroke-width=\"2\"\/>\n<rect x=\"530\" y=\"220\" width=\"166\" height=\"48\" rx=\"8\" fill=\"#fee2e2\"\/>\n<text x=\"613\" y=\"250\" text-anchor=\"middle\" font-family=\"Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#7f1d1d\">Font is blocked<\/text>\n<\/svg>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress is not in this conversation. A font is a static file, so the web server answers without starting PHP. In the three core files we read, the only code that sends an Access-Control-Allow-Origin header serves the REST API and admin-ajax.php. Both run PHP, and a font request never does, so a PHP filter cannot fix a blocked font.<\/p>\n\n\n\n<h2 id=\"nine-setups-blocked-by-cors-policy-or-allowed-our-lab-results\" class=\"wp-block-heading\">Nine Setups Blocked or Allowed: Our Lab Results<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We loaded one small font nine ways and recorded every console line. Three setups loaded and six failed, and five of the six printed a CORS line. The table is the AHosting CORS Font Decoder, and the right column is the one to match against your own console.<\/p>\n\n\n\n<figure class=\"wp-block-table ah-ladder\"><table><thead><tr><th>Setup<\/th><th>What the server sent<\/th><th>Result<\/th><th>What Chrome printed<\/th><\/tr><\/thead><tbody><tr><td>Font on the same origin as the page<\/td><td>200, no header needed<\/td><td>Loaded<\/td><td>Nothing<\/td><\/tr><tr><td>Font on www while the page is on the apex host<\/td><td>200, no header<\/td><td>Blocked<\/td><td>No Access-Control-Allow-Origin header is present<\/td><\/tr><tr><td>Font on a CDN host, header set to *<\/td><td>200, header *<\/td><td>Loaded<\/td><td>Nothing<\/td><\/tr><tr><td>Font on a CDN host, header set to the exact page origin<\/td><td>200, exact origin<\/td><td>Loaded<\/td><td>Nothing<\/td><\/tr><tr><td>CDN host, header names the www origin instead<\/td><td>200, wrong value<\/td><td>Blocked<\/td><td>Header has a value that is not equal to the supplied origin<\/td><\/tr><tr><td>CDN host, file missing, header added without always<\/td><td>404, no header<\/td><td>Blocked<\/td><td>Missing-header line, though the 404 is the cause<\/td><\/tr><tr><td>CDN host, file missing, header added with always<\/td><td>404, header *<\/td><td>Blocked<\/td><td>No CORS line; the 404 is the cause<\/td><\/tr><tr><td>CDN host answers with a server error<\/td><td>500, no header<\/td><td>Blocked<\/td><td>Missing-header line, though the 500 is the cause<\/td><\/tr><tr><td>Same-origin URL that redirects to a host without the header<\/td><td>301, then 200 with no header<\/td><td>Blocked<\/td><td>Missing-header line plus redirected from<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">AHosting CORS Font Decoder: nine font setups tested in Chrome 158 against nginx 1.31.6 on one Mac, 21 November 2026.<\/figcaption><\/figure>\n\n\n\n<h3 id=\"three-findings-from-our-blocked-by-cors-policy-test\" class=\"wp-block-heading\">Three Findings From Our Blocked by CORS Policy Test<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Three findings matter more than the rest. A missing file and a server error print the same line as a missing header, so the console alone cannot tell you which one you have. Adding the header to the 404 made the CORS line vanish, which proves the failure was the 404. And the redirect line names the original URL, which is your clue that the final host is the one to fix.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Limits: static files, one browser, one server, localhost names. No Apache, LiteSpeed, Firefox, Safari, CDN or credentialed requests were tested.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"ah-yt\" data-id=\"Wthsmo7q8cQ\" data-title=\"Font Blocked by CORS Policy in WordPress: Fix It (2026)\"><img src=\"https:\/\/i.ytimg.com\/vi\/Wthsmo7q8cQ\/hqdefault.jpg\" alt=\"\" width=\"480\" height=\"360\" loading=\"lazy\" decoding=\"async\"><button type=\"button\" class=\"ah-yt-play\" aria-label=\"Play video: Font Blocked by CORS Policy in WordPress: Fix It (2026)\"><span aria-hidden=\"true\"><\/span><\/button><\/div>\n<\/div><\/figure>\n\n\n\n<h2 id=\"fix-a-font-blocked-by-cors-policy-read-the-reason-first\" class=\"wp-block-heading\">Fix a Blocked Font: Read the Reason First<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Four reasons produced the six failures, and each has a different fix.<\/p>\n\n\n\n<h3 id=\"a-font-blocked-by-cors-policy-because-the-header-is-missing\" class=\"wp-block-heading\">A Font Blocked by CORS Policy Because the Header Is Missing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm it from a terminal instead of the browser. Run <code>curl -sI -H \"Origin: https:\/\/your-site.example\" https:\/\/cdn.example\/font.woff2<\/code> with your own page origin and font URL, and look for an access-control-allow-origin line. If it is absent, add the header on the host that serves the font.<\/p>\n\n\n\n<h3 id=\"a-font-blocked-by-cors-policy-because-the-header-names-the-wrong-origin\" class=\"wp-block-heading\">A Font Blocked by CORS Policy Because the Header Names the Wrong Origin<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here the header exists but names a different origin. In our lab it named the www host while the page sat on the apex host, and Chrome said the value was not equal to the supplied origin. The value must match the page scheme, host and port exactly, or you can send * for a public font.<\/p>\n\n\n\n<h3 id=\"a-font-blocked-by-cors-policy-that-is-really-a-404-or-500\" class=\"wp-block-heading\">A Font Blocked by CORS Policy That Is Really a 404 or 500<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check the status first. A 404 or 500 without the header prints the same line as a missing header, so editing headers changes nothing. In nginx, <code>add_header<\/code> skips error responses unless you add <code>always<\/code>, which is why our 404 with <code>always<\/code> printed no CORS line at all. Fix the URL or the server error.<\/p>\n\n\n\n<h3 id=\"a-redirect-behind-the-blocked-by-cors-policy-line\" class=\"wp-block-heading\">A Redirect Behind the Blocked by CORS Policy Line<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When Chrome adds the words redirected from, follow the redirect to its last host. That host needs the header, or the stylesheet should point straight at the final URL. A plugin that rewrites asset URLs to a CDN can add this hop.<\/p>\n\n\n\n<h2 id=\"where-to-add-the-header-for-a-font-blocked-by-cors-policy\" class=\"wp-block-heading\">Where to Add the Header for a Font Blocked by CORS Policy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add the header on the server that serves the font, never on the page that asks for it. The <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Guides\/CORS\/Errors\/CORSMissingAllowOrigin\" target=\"_blank\" rel=\"noopener\">MDN reference for the missing-header reason<\/a> shows the Apache form, <code>Header set Access-Control-Allow-Origin 'https:\/\/example.com'<\/code> in an .htaccess file or the server configuration, and the nginx form with <code>always<\/code> on the end. We ran only the nginx form. We did not run the Apache directive, so test it with curl after you add it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the font lives in your own hosting account, the .htaccess file in that site folder is the file the Apache example targets. On a CDN, the setting is in its dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-table ah-ladder\"><table><thead><tr><th>Header value<\/th><th>Font loaded in our lab<\/th><th>Safe behind a cache<\/th><th>Note<\/th><\/tr><\/thead><tbody><tr><td>*<\/td><td>Yes<\/td><td>Yes, one value for every origin<\/td><td>MDN limits the wildcard to public resources, and a font file is public by design<\/td><\/tr><tr><td>One exact origin<\/td><td>Yes, and a wrong origin failed<\/td><td>Yes while one site asks<\/td><td>Must match scheme, host and port<\/td><\/tr><tr><td>Reflect the request Origin<\/td><td>Yes<\/td><td>Only with Vary: Origin<\/td><td>Needed when several sites share one font host<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Three ways to set Access-Control-Allow-Origin on a font, from our lab and MDN guidance.<\/figcaption><\/figure>\n\n\n\n<h2 id=\"triage-a-font-blocked-by-cors-policy-in-two-questions\" class=\"wp-block-heading\">Triage a Font Blocked by CORS Policy in Two Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Answer from your own console and curl output. The tool cannot test your site.<\/p>\n\n\n\n<style>\n.ahcors-tool{border:1px solid #cbd5e1;border-radius:12px;padding:20px;margin:24px 0;background:#f8fafc}\n.ahcors-tool h3{margin:0 0 12px;font-size:1.15rem;color:#0f172a}\n.ahcors-tool label{display:block;font-size:.9rem;margin:10px 0 4px;color:#334155}\n.ahcors-tool select{width:100%;max-width:560px;padding:8px;border:1px solid #94a3b8;border-radius:6px;font-size:1rem}\n.ahcors-tool .ahcors-out{font-size:.95rem;color:#0f172a;margin:14px 0;padding:12px;background:#eff6ff;border-radius:8px}\n.ahcors-tool .ahcors-btn{display:inline-block;background:#2563eb;color:#ffffff;padding:10px 18px;border-radius:8px;text-decoration:none}\na.ahcors-btn.wp-element-button{color:#ffffff !important;background:#2563eb !important;text-decoration:none !important}\n<\/style>\n<div class=\"ahcors-tool\" data-ahcors=\"font-triage\">\n<h3>CORS Font Triage<\/h3>\n<label for=\"ahcors-where\">Where does the font URL point, compared with the page?<\/label>\n<select id=\"ahcors-where\" class=\"ahcors-where\">\n<option value=\"same\">Same scheme, host and port as the page<\/option>\n<option value=\"www\">Same domain, but www vs non-www or http vs https differs<\/option>\n<option value=\"other\">A CDN, a subdomain or another site<\/option>\n<\/select>\n<label for=\"ahcors-curl\">What does curl -I on the font URL show?<\/label>\n<select id=\"ahcors-curl\" class=\"ahcors-curl\">\n<option value=\"nohdr\">200, and no access-control-allow-origin line<\/option>\n<option value=\"wrong\">200, with an access-control-allow-origin that names a different origin<\/option>\n<option value=\"error\">404 or 500<\/option>\n<option value=\"redirect\">301 or 302 to another host<\/option>\n<option value=\"good\">200, with a matching access-control-allow-origin<\/option>\n<\/select>\n<p class=\"ahcors-out\" aria-live=\"polite\"><\/p>\n<a class=\"ahcors-btn wp-element-button\" href=\"https:\/\/www.ahosting.net\/web-hosting.html\">See what a hosting plan includes<\/a>\n<\/div>\n<script>\n(function(){\n  document.addEventListener('DOMContentLoaded', function(){\n    var root = document.querySelector('[data-ahcors]');\n    if (!root) { return; }\n    var id = root.getAttribute('data-ahcors');\n    if (!id) { return; }\n    var wh = root.querySelector('.ahcors-where');\n    var cu = root.querySelector('.ahcors-curl');\n    var out = root.querySelector('.ahcors-out');\n    if (!wh) { return; }\n    if (!cu) { return; }\n    if (!out) { return; }\n    var CASES = {\n      nohdr: \"Likely cause: the font host sends no header. First check: the font URL in your stylesheet. Fix: add Access-Control-Allow-Origin on the host that serves the font.\",\n      wrong: \"Likely cause: the header names another origin, often the www host. First check: the exact scheme, host and port of the page. Fix: send the page origin, or use * for a public font.\",\n      error: \"Likely cause: the file is missing or the server fails, and the CORS line is a side effect. First check: the status code. Fix: the font URL or the server error, not the header.\",\n      redirect: \"Likely cause: the URL ends on a host that sends no header. First check: where the redirect lands. Fix: point the stylesheet at the final URL, or add the header on the final host.\",\n      good: \"The header arrives. First check: a cache that may serve an older copy, and a private window to skip the browser cache. Fix: purge every cache layer, then reload.\"\n    };\n    var HOST = {\n      same: \" A same-origin font needs no header, so recheck that the URL really matches the page.\",\n      www: \" The page and the font are two origins here, so make one host canonical or add the header on the font host.\",\n      other: \" This is the classic cross-origin case, so the header belongs on that other host.\"\n    };\n    function update(){\n      var text = CASES[cu.value];\n      if (!text) { text = CASES.nohdr; }\n      var extra = HOST[wh.value];\n      if (extra) { text = text + extra; }\n      out.textContent = text + \" This reads your answers only. It does not test your site.\";\n    }\n    wh.addEventListener('change', update);\n    cu.addEventListener('change', update);\n    update();\n  });\n})();\n<\/script>\n\n\n\n<h2 id=\"the-www-mismatch-that-gets-a-font-blocked-by-cors-policy\" class=\"wp-block-heading\">The WWW Mismatch That Gets a Font Blocked by CORS Policy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A page on the apex host that loads a font from the www host is a cross-origin request, and our lab blocked it. A stylesheet or theme setting that still holds the old host after a move can do exactly this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pick one canonical host and make the other redirect to it. In WordPress, Settings then General holds the WordPress Address and the Site Address, and both should name the same host. Our guide to <a href=\"https:\/\/www.ahosting.net\/blog\/err-too-many-redirects-wordpress\/\">the too many redirects error<\/a> covers what happens when those settings and the redirect rules disagree. An http font on an https page is a different error, covered in <a href=\"https:\/\/www.ahosting.net\/blog\/wordpress-mixed-content-warning\/\">our mixed content warning guide<\/a>.<\/p>\n\n\n\n<h2 id=\"a-cached-font-still-blocked-by-cors-policy-after-the-fix\" class=\"wp-block-heading\">A Cached Font Still Blocked by CORS Policy After the Fix<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If curl shows the header and Chrome still blocks the font, suspect a cache holding an older response. We tested a cache in front of a server that echoes the request Origin. Without a Vary header, the first origin to ask got a miss, and the second origin got a hit that still carried the first origin value. With <code>Vary: Origin<\/code> the second origin got its own copy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/www.smashingmagazine.com\/2017\/11\/understanding-vary-header\/\" target=\"_blank\" rel=\"noopener\">Smashing Magazine explainer on the Vary header<\/a> describes the mechanism: a cache treats Vary as a validator, and a request that does not satisfy it counts as a miss. After any header change, purge each cache layer, then test in a private window. Our notes on <a href=\"https:\/\/www.ahosting.net\/blog\/litespeed-cache-and-cloudflare\/\">LiteSpeed Cache and Cloudflare<\/a> explain how those layers stack.<\/p>\n\n\n\n<h2 id=\"what-wordpress-sends-for-rest-and-admin-ajax-and-why-fonts-differ\" class=\"wp-block-heading\">What WordPress Sends for REST and admin-ajax, and Why Fonts Differ<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress does send CORS headers, just not for files. In WordPress 7.1.5, <code>send_origin_headers()<\/code> at line 515 of http.php allows only the host of the admin and home URLs, with no port, and admin-ajax.php calls it at line 25. The <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/send_origin_headers\/\" target=\"_blank\" rel=\"noopener\">send_origin_headers reference<\/a> documents it. The REST API takes a different route: <code>rest_send_cors_headers()<\/code> in rest-api.php echoes whatever Origin the request carries and adds Allow-Credentials true and Vary: Origin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is core choosing for its own endpoints, and we would not copy it into a rule for static files. If your real problem is a REST call from another site, our guide to <a href=\"https:\/\/www.ahosting.net\/blog\/the-rest-api-encountered-an-error\/\">the REST API error in Site Health<\/a> is the better starting point. For fonts, keep the rule at the web server.<\/p>\n\n\n\n<h2 id=\"when-a-font-blocked-by-cors-policy-points-to-a-bigger-plan\" class=\"wp-block-heading\">When a Font Blocked by CORS Policy Points to a Bigger Plan<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A missing header is a configuration change, not a capacity limit, so no plan change clears it. Serving the font from the same host as the page removes the cross-origin request altogether, and a <a href=\"https:\/\/www.ahosting.net\/wordpress-hosting.html\">WordPress hosting plan<\/a> keeps the theme and its font files in one account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you run your own web server configuration, a <a href=\"https:\/\/www.ahosting.net\/vps-hosting.html\">VPS<\/a> lets you set the header at the server and the CDN edge yourself. If the console still blocks the font after the steps above, open a ticket with the exact console line, the font URL and the curl -I output, and we will look at it with you.<\/p>\n\n\n\n<h2 id=\"faq-font-blocked-by-cors-policy-wordpress\" class=\"wp-block-heading\">Frequently Asked Questions: Blocked by CORS Policy<\/h2>\n\n\n\n<h3 id=\"faq-fix-font-blocked-by-cors-policy-2026\" class=\"wp-block-heading\">How do you fix a font blocked by CORS policy on a WordPress site in 2026?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Typically you add an Access-Control-Allow-Origin header on the server that hosts the font file, then confirm it with curl -I. In our Chrome 158 lab, three of nine font setups loaded and the six failures had four different causes, so read the console reason first.<\/p>\n\n\n\n<h3 id=\"faq-wildcard-vs-single-origin\" class=\"wp-block-heading\">Is Access-Control-Allow-Origin * vs a single origin the safer choice for a font blocked by CORS policy?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Specifically, both loaded the font in our lab. MDN says the wildcard should only be used for public resources, and a font file is public by design, so in our view the wildcard is reasonable for fonts. One exact origin also works, but it must match the page scheme, host and port.<\/p>\n\n\n\n<h3 id=\"faq-ahosting-plan-changes-cors\" class=\"wp-block-heading\">Does the AHosting plan I choose change whether a font is blocked by CORS policy in 2026?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Overall, no. The error comes from a missing or mismatched header, or from a bad font URL, not from plan size, so a bigger plan will not clear it. Moving the font to the same host as the page removes the cross-origin request entirely.<\/p>\n\n\n\n<h3 id=\"faq-cors-line-but-404-or-500\" class=\"wp-block-heading\">Why does a WordPress font show a CORS error when the real problem is a 404 or 500 response?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In practice the browser checks the header before it cares about the status. In our lab a missing file and a 500 response both printed the No Access-Control-Allow-Origin line because the error response carried no header. With the header on the 404, Chrome printed no CORS line, so check the status with curl -I first.<\/p>\n\n\n\n<h3 id=\"faq-send-ahosting-support-cors\" class=\"wp-block-heading\">What should I send AHosting support when a font is still blocked by CORS policy after I add the header?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Specifically, open a ticket with the exact console line, the font URL and the output of curl -I on that URL, and we will look at it with you. None of those three items contains a password or key.<\/p>\n\n\n\n<h3 id=\"faq-vary-origin-behind-cache\" class=\"wp-block-heading\">Does Vary: Origin matter when a font is blocked by CORS policy behind a cache or CDN?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Notably, yes when the header value changes with the caller. In our nginx cache test, a response without Vary: Origin was stored for the first origin and served to the second origin with the first origin value. With Vary: Origin the cache kept one copy per origin. A fixed header value such as * does not need it.<\/p>\n\n\n\n<h3 id=\"faq-www-vs-apex-same-domain\" class=\"wp-block-heading\">Can a www vs non-www mismatch leave a font blocked by CORS policy even on one domain in 2026?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Indeed, yes. An origin is the scheme, host and port together, so the apex host and the www host are two origins. In our lab a page on the apex host requesting a font from the www host was blocked until that font response carried a matching header.<\/p>\n\n\n\n<h3 id=\"faq-image-loads-font-blocked\" class=\"wp-block-heading\">Why does an image from another host load while a font from that host is blocked?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In other words, the two requests use different modes. A plain img tag does not need permission to display the file, while a font is fetched in CORS mode under the CSS Fonts specification.<\/p>\n\n\n\n<h3 id=\"faq-wordpress-core-font-header\" class=\"wp-block-heading\">Does WordPress core send an Access-Control-Allow-Origin header for font files like it does for the REST API?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In fact, no. In the three core files we read, only the REST API and admin-ajax.php send that header, and both run PHP. A font is a static file, so the header has to come from the server or CDN configuration.<\/p>\n\n\n\n<h3 id=\"faq-simplest-way-ahosting-font\" class=\"wp-block-heading\">What is the simplest way to keep a font from being blocked by CORS policy on an AHosting WordPress site?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Typically, serve the font from the same host as the page. A same-origin font loaded in every one of our tests and needs no header. If the font must live on another host, the header goes on that host.<\/p>\n\n\n\n<script>\n(function(){\n  document.addEventListener('DOMContentLoaded', function(){\n    var allH3s = document.querySelectorAll('h3.wp-block-heading');\n    var inFaq = false;\n    for (var i = 0; i < allH3s.length; i++) {\n      var h3 = allH3s[i];\n      var prev = h3.previousElementSibling;\n      if (prev) {\n        if (prev.tagName === 'H2') {\n          var prevId = prev.getAttribute('id');\n          if (prevId) {\n            if (prevId.indexOf('faq-') === 0) {\n              inFaq = true;\n            } else {\n              inFaq = false;\n            }\n          }\n        }\n      }\n      if (inFaq) {\n        initToggle(h3);\n      }\n    }\n    function initToggle(h3) {\n      var answer = h3.nextElementSibling;\n      if (!answer) { return; }\n      if (answer.tagName !== 'P') { return; }\n      answer.style.display = 'none';\n      h3.style.cursor = 'pointer';\n      h3.setAttribute('tabindex', '0');\n      h3.setAttribute('aria-expanded', 'false');\n      h3.addEventListener('click', function(){\n        toggleOne(h3, answer);\n      });\n      h3.addEventListener('keydown', function(ev){\n        if (ev.key === 'Enter') { toggleOne(h3, answer); }\n        if (ev.key === ' ') { ev.preventDefault(); toggleOne(h3, answer); }\n      });\n    }\n    function toggleOne(h3, answer) {\n      var open = h3.getAttribute('aria-expanded') === 'true';\n      if (open) {\n        answer.style.display = 'none';\n        h3.setAttribute('aria-expanded', 'false');\n      } else {\n        answer.style.display = 'block';\n        h3.setAttribute('aria-expanded', 'true');\n      }\n    }\n  });\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>TL;DR A font blocked by CORS policy means the browser asked another origin for the font file and the response did not carry an Access-Control-Allow-Origin header that matches the page. In our Chrome 158 lab, 6 of 9 font setups failed, and a missing file or a server error printed the same console line as [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1658,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[8],"tags":[429,427,430,425,426,110,428,117],"class_list":["post-1657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-htaccess-headers","tag-access-control-allow-origin","tag-blocked-by-cors-policy","tag-cors-fonts","tag-curl-i","tag-shared-hosting","tag-wordpress-fonts","tag-wordpress-troubleshooting"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Matt Chrust\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"AHosting Blog | WordPress Hosting Tips &amp; Guides\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting\" \/>\n\t\t<meta property=\"og:description\" content=\"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-23T15:57:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-23T17:52:38+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ahostingdotnet\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@ahostingdotnet\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#article\",\"name\":\"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting\",\"headline\":\"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)\",\"author\":{\"@type\":\"Person\",\"name\":\"Matt Chrust\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/author\\\/matt-chrust\\\/\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/font-blocked-by-cors-policy-wordpress-ahosting.jpg\",\"width\":1200,\"height\":675,\"caption\":\"Why a WordPress font is blocked by CORS policy: the reason in the console is not always the cause. By Matt Chrust, Director of Business Development, AHosting.\"},\"datePublished\":\"2026-11-23T15:57:03+00:00\",\"dateModified\":\"2026-11-23T17:52:38+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#webpage\"},\"articleSection\":\"WordPress, .htaccess headers, Access-Control-Allow-Origin, blocked by cors policy, CORS fonts, curl -I, Shared Hosting, WordPress fonts, WordPress troubleshooting\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/category\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/category\\\/wordpress\\\/#listItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/category\\\/wordpress\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#listItem\",\"name\":\"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#listItem\",\"position\":3,\"name\":\"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/category\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"},\"item\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/\"}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/#organization\",\"name\":\"AHosting\",\"description\":\"WordPress Hosting Tips & Guides\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/assets\\\/img\\\/ahosting-logo.svg\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/ahostingdotnet\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/author\\\/matt-chrust\\\/#author\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/author\\\/matt-chrust\\\/\",\"name\":\"Matt Chrust\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/795895edac1c44589f6c7f5e6bb79df405fbbaac15817bdd387ec57da61731ec?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Matt Chrust\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/\",\"name\":\"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting\",\"description\":\"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/author\\\/matt-chrust\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/author\\\/matt-chrust\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/font-blocked-by-cors-policy-wordpress-ahosting.jpg\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#mainImage\",\"width\":1200,\"height\":675,\"caption\":\"Why a WordPress font is blocked by CORS policy: the reason in the console is not always the cause. By Matt Chrust, Director of Business Development, AHosting.\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/blog\\\/font-blocked-by-cors-policy-wordpress\\\/#mainImage\"},\"datePublished\":\"2026-11-23T15:57:03+00:00\",\"dateModified\":\"2026-11-23T17:52:38+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/#website\",\"url\":\"https:\\\/\\\/www.ahosting.net\\\/\",\"name\":\"AHosting\",\"description\":\"WordPress Hosting Tips & Guides\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ahosting.net\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting","description":"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.","canonical_url":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#article","name":"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting","headline":"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)","author":{"@type":"Person","name":"Matt Chrust","url":"https:\/\/www.ahosting.net\/blog\/author\/matt-chrust\/"},"publisher":{"@id":"https:\/\/www.ahosting.net\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg","width":1200,"height":675,"caption":"Why a WordPress font is blocked by CORS policy: the reason in the console is not always the cause. By Matt Chrust, Director of Business Development, AHosting."},"datePublished":"2026-11-23T15:57:03+00:00","dateModified":"2026-11-23T17:52:38+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#webpage"},"articleSection":"WordPress, .htaccess headers, Access-Control-Allow-Origin, blocked by cors policy, CORS fonts, curl -I, Shared Hosting, WordPress fonts, WordPress troubleshooting"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ahosting.net\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.ahosting.net\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ahosting.net\/blog\/category\/wordpress\/#listItem","name":"WordPress"}},{"@type":"ListItem","@id":"https:\/\/www.ahosting.net\/blog\/category\/wordpress\/#listItem","position":2,"name":"WordPress","item":"https:\/\/www.ahosting.net\/blog\/category\/wordpress\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#listItem","name":"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ahosting.net\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#listItem","position":3,"name":"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ahosting.net\/blog\/category\/wordpress\/#listItem","name":"WordPress"},"item":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/"}]},{"@type":"Organization","@id":"https:\/\/www.ahosting.net\/#organization","name":"AHosting","description":"WordPress Hosting Tips & Guides","url":"https:\/\/www.ahosting.net\/","logo":{"@type":"ImageObject","url":"https:\/\/www.ahosting.net\/assets\/img\/ahosting-logo.svg","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#organizationLogo"},"image":{"@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#organizationLogo"},"sameAs":["https:\/\/x.com\/ahostingdotnet"]},{"@type":"Person","@id":"https:\/\/www.ahosting.net\/blog\/author\/matt-chrust\/#author","url":"https:\/\/www.ahosting.net\/blog\/author\/matt-chrust\/","name":"Matt Chrust","image":{"@type":"ImageObject","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/795895edac1c44589f6c7f5e6bb79df405fbbaac15817bdd387ec57da61731ec?s=96&d=mm&r=g","width":96,"height":96,"caption":"Matt Chrust"}},{"@type":"WebPage","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#webpage","url":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/","name":"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting","description":"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ahosting.net\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ahosting.net\/blog\/author\/matt-chrust\/#author"},"creator":{"@id":"https:\/\/www.ahosting.net\/blog\/author\/matt-chrust\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg","@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#mainImage","width":1200,"height":675,"caption":"Why a WordPress font is blocked by CORS policy: the reason in the console is not always the cause. By Matt Chrust, Director of Business Development, AHosting."},"primaryImageOfPage":{"@id":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/#mainImage"},"datePublished":"2026-11-23T15:57:03+00:00","dateModified":"2026-11-23T17:52:38+00:00"},{"@type":"WebSite","@id":"https:\/\/www.ahosting.net\/#website","url":"https:\/\/www.ahosting.net\/","name":"AHosting","description":"WordPress Hosting Tips & Guides","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ahosting.net\/#organization"}}]},"og:locale":"en_US","og:site_name":"AHosting Blog | WordPress Hosting Tips &amp; Guides","og:type":"article","og:title":"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting","og:description":"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.","og:url":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/","og:image":"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg","og:image:secure_url":"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg","og:image:width":1200,"og:image:height":675,"article:published_time":"2026-11-23T15:57:03+00:00","article:modified_time":"2026-11-23T17:52:38+00:00","twitter:card":"summary_large_image","twitter:site":"@ahostingdotnet","twitter:title":"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting","twitter:description":"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.","twitter:creator":"@ahostingdotnet","twitter:image":"https:\/\/www.ahosting.net\/blog\/wp-content\/uploads\/2026\/11\/font-blocked-by-cors-policy-wordpress-ahosting.jpg"},"aioseo_meta_data":{"post_id":"1657","title":"Blocked by CORS Policy in WordPress: Fix Fonts | AHosting","description":"Blocked by CORS policy on a WordPress font? In our Chrome 158 lab, 6 of 9 font setups failed for four different reasons. See which fix fits yours.","keywords":null,"keyphrases":{"focus":{"keyphrase":"blocked by cors policy","score":0,"analysis":[]},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-11-23 15:48:40","updated":"2026-11-23 17:54:53","seo_analyzer_scan_date":null,"focus_keyword":"blocked by cors policy","additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ahosting.net\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ahosting.net\/blog\/category\/wordpress\/\" title=\"WordPress\">WordPress<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBlocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ahosting.net\/blog\/"},{"label":"WordPress","link":"https:\/\/www.ahosting.net\/blog\/category\/wordpress\/"},{"label":"Blocked by CORS Policy in WordPress: Why Fonts Fail and How to Fix Them (2026)","link":"https:\/\/www.ahosting.net\/blog\/font-blocked-by-cors-policy-wordpress\/"}],"_links":{"self":[{"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/posts\/1657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/comments?post=1657"}],"version-history":[{"count":2,"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/posts\/1657\/revisions"}],"predecessor-version":[{"id":1663,"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/posts\/1657\/revisions\/1663"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/media\/1658"}],"wp:attachment":[{"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/media?parent=1657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/categories?post=1657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ahosting.net\/blog\/wp-json\/wp\/v2\/tags?post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}