3heads-gear3headschatchecklistglobehead-lockhead-plusimaclife-ringlogo-cornelllogo-melbournelogo-northhamptonlogo-portsmouthlogo-small logo-vancouverlogo-yokohamamail-line mail-wings pdf pie-chartplayplugprinter skype website
Print Friendly

The WP-CORS plugin allows AJAX requests from other sites to integrate content from your site using the CORS standards.

It’s used if you want to integrate content from your site to JavaScript applications running on other host domains, or want to allow other people to, using the CORS standards.

WP-CORS plugin is a CampusPress only plugin.

Configure WP-CORS

Once you have activated the WP-CORS plugin in Plugins > All, go to Settings > CORS to specify allowed domains.

CORS settings page

After you’ve specified the allowed domains it’ll allow AJAX requests to your site from those domains containing an Origin header.

Learn more

Refer to:

  1. CORS specs
  2. How to use CORS