Enable CORS


Are you tired of dealing with pesky CORS errors on your website? Do you want to finally be able to access cross-origin resources with ease? Look no further! This plugin is here to solve all of your CORS issues. With just a few simple clicks, you can enable CORS support on your website and say goodbye to frustrating error messages. Plus, This tool is easy to use and compatible with all major browsers. Don’t miss out on this game-changing solution! Try today and revolutionize the way you access cross-origin resources.

To now

From 1.0.0

What is CORS ?

CORS (Cross-Origin Resource Sharing) is a security feature implemented by web browsers that blocks web pages from making requests to a different domain than the one that served the web page. This is done to prevent malicious websites from making unauthorized requests to other websites on behalf of the user.

However, there may be legitimate reasons for a web page to make requests to a different domain, such as accessing a third-party API or including resources from a CDN. In these cases, the server that the web page is making the request to can include special headers in its responses that tell the browser to allow the web page to access the resources.

If a web page tries to make a request to a different domain and the server doesn’t include the necessary CORS headers, the browser will block the request and the web page will receive a CORS error. This can be frustrating for developers, as it can prevent them from accessing resources they need to build their websites or applications.

Does the cors error occur on WordPress?

Yes, CORS errors can occur on WordPress websites. WordPress is a content management system (CMS) that runs on a web server and serves web pages to users through a web browser. As with any other web page, CORS errors can occur when a WordPress website tries to make requests to a different domain and the server doesn’t include the necessary CORS headers in its responses.

There are several reasons why a WordPress website might encounter CORS errors. For example, the website might be using a plugin or theme that makes requests to an external API or includes resources from a different domain. In this case, the server hosting the API or resources would need to include the necessary CORS headers in its responses to allow the WordPress website to access them.

Another possible cause of CORS errors on WordPress websites is if the website is hosted on a server that has CORS headers disabled. In this case, the website would not be able to make requests to any other domains, even if the server hosting those domains includes the necessary CORS headers.

To fix CORS errors on a WordPress website, you will need to either configure the server to include the necessary CORS headers or modify the website to make requests to a different domain that does include the necessary headers. It’s also possible to use a plugin or other tool to enable CORS support on your WordPress website.

How do I enable cors without a plugin in WordPress?

There are a few different ways you can enable CORS support on a WordPress website without using a plugin.

Modify the server configuration: If you have access to the server that your WordPress website is hosted on, you can enable CORS by adding the necessary headers to the server’s configuration. The exact steps for doing this will depend on the type of server you are using and how it is configured.

Be aware that modifying the server configuration or adding code to your WordPress website can have unintended consequences, so it’s a good idea to test any changes thoroughly before deploying them to a production environment.

How does your plugin help with CORS support?

This plugin adds support for CORS to your WordPress website, allowing you to specify which domains are allowed to access your website’s resources, and which types of requests are allowed. This helps to ensure that your website remains secure while allowing authorized access to resources from other domains.

If your site is serving data to others, then This plugin will work. Otherwise, do not install this plugin, It will be waste of your time only.

Why Choose ‘Enable CORS’

  • Save Time: No more manual configuration of CORS headers. This plugin does it for you.
  • Improve Security: Specify which domains are allowed to access your website’s resources.
  • Ease of Use: This plugin is easy to use and compatible with all major browsers.
  • Excellent Support: I offer top-notch paid support to assist you whenever you need help.

Don’t just take these words for it; check out reviews from satisfied users!

Try ‘Enable CORS’ today and experience the difference!

Note to all users

I appreciate your understanding that this project is pursued in my spare time, outside of my regular professional commitments. As such, there may be delays in responding to inquiries or implementing updates. I assure you that I am committed to this project, as I personally use this plugin for my own website and for several of my clients. If you are comfortable with this arrangement, I encourage you to install the plugin. However, if immediate support and frequent updates are crucial for you, I kindly suggest exploring other options that may better suit your needs.

Thank You

  • Dakini and Irina for their contributions to the Russian translation.


  1. Install & Activate the plugin through the ‘Plugins’ screen in WordPress
  2. Plugin redirect you to settings panel.


What requests use CORS?

  1. Invocations of the XMLHttpRequest or Fetch APIs, as discussed above.
  2. Web Fonts (for cross-domain font usage in @font-face within CSS), so that servers can deploy TrueType fonts that can only be loaded cross-origin and used by web sites that are permitted to do so.
  3. WebGL textures.
  4. Images/video frames drawn to a canvas using drawImage().
  5. CSS Shapes from images.

Plugin is not working on my site.

I’m sorry to hear that you are experiencing issues with the plugin on your website. If you require assistance with resolving this issue, I recommend placing an order or message via fiverr or fill up support form to fix the issue for you. Please provide me with additional details about the issue you are facing so that I can better assist you.


29 November 2023
Trying to add these rules to Cloudflare was a mission (didn’t work for me), this solved my issues. Thank you!
07 October 2023
I was going to contact my web developer to enable CORS so that my optinmonster popup plugin would start working. This plugin allowed me to do iit myself. to whitelist optin monster. with no server/code knowledge – anyone can do it. stunningly simple but SO effective. Just remember to clear cache after – I use nitro for that.
Read all 3 reviews

Contributors & Developers

“Enable CORS” is open source software. The following people have contributed to this plugin.


“Enable CORS” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Enable CORS” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


1.2.3 – 22-06-2024

  • Improved workflow

1.0.0 – 28-03-2023

  • Added support link on the settings page.
  • Added automate support system.
  • Added support for ajax.
  • Added link for customer support.
  • Added support for Font & Images issues.
  • Added support for api redirection.
  • Added support for image rendering issues.
  • Added multiple website options.
  • Added request method check.
  • Note:: This plugin does not help on Google Analytics issues.