🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Fix WordPress No ‚Access-Control-Allow-Origin’ header is present Error

If you have added a CDN to your WordPress website and the CDN URL is different from the main domain, you may encounter the error 'no 'access-control-allow-origin' header is present on the requested resource' when viewing the source code. This issue is caused by cross-origin font permissions. If you are using Apache, you can resolve it by adding the following code snippet to the host's pseudo-static file.
# Set CORS


Header set Access-Control-Allow-Origin "*"


# Set CORS

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow