Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:


wpDiscuz Support Forum wpForo Support Forum

CloudFront and wpDiscuz

Member Customer
Joined: 3 years ago
Posts: 2
Topic starter  

We use wpdiscuz comment system and we want to use AWS cloudfornt on our site. But when turn CloufFront on  we are getting a lot of errors as
"Access to XMLHttpRequest at 'js' from origin 'host' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
As a solution we tried to dis-register wpdiscuz.js (and other plugin js files) and put it directory to footer, or display via php object buffer. Also we tried different config with native.ajax/wp-discuz ajax. So how can we use wpdiscuz


with cloudfront without conflicts?

Thanh you!

Topic Tags
Support Team Admin
Joined: 5 years ago
Posts: 5354

Hi @sasha,

Please navigate to Dashboard > Comments > Settings > General admin page, enable the "Use WordPress native AJAX functions" option, delete all caches and check again. 

Don't forget to press CTRL+F5 on the frontend before checking. 

If it doesn't help please try to exclude the wpDiscuz plugin from the AWS CloudFront.  

Member Customer
Joined: 3 years ago
Posts: 2
Topic starter  

Can you please suggest how to  exclude the wpDiscuz plugin from the AWS CloudFront?

Thank you!

Noble Member Moderator
Joined: 3 years ago
Posts: 1403


You should exclude:


I'm sorry, but I'm not familiar with this plugin. To know on how to exclude js files from AWS CloudFront,you can make search on google.

Scroll to top