Fixing CORS Errors

Last Updated -

What Are Pagely's Default CORS Headers?

By default, Pagely adds CORS headers on ARES for webfonts such as "eot|otf|svg|ttc|ttf|woff2".

What If We Want To Add Additional CORS Headers?

Most cross-origin-resources should work out of the box.

If there are any security concerns about using the wildcard option, we suggest to look over the CORS documentation here and determine the best option for your site. If these do not alleviate your concerns, or you require additional assistance. please contact support to discuss the matter further.

Modifying CORS Headers for WordPress REST API Requests

The default CORS headers when accessing the WordPress REST API can be modified using a bit of custom code on your site.

For more information on modifying CORS headers when using the REST API, see the following:

Related Topics

Pagely is the Managed WordPress Hosting Platform designed to exceed the needs of media, business, and Enterprise customers alike. We help the world's biggest brands scale WordPress.

Copyright © 2006-2017 Pagely, Inc. All rights reserved.
Pagely® and WordPress® are registered trademarks.

Powered by Zendesk