wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

Access control origin not setting up for wp-discuz plugin only


deepak
Posts: 2
Topic starter
(@deepak)
New Member
Joined: 5 months ago

Chrome Console error:

 

Access to font at ‘ https://URL1.com/wp-content/plugins/wpdiscuz/assets/third-party/font-awesome-5.13.0/webfonts/fa-solid-900.tt f' from origin 'https://URL2.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

I have used setting in .htaccess to allow 'Access-Control-Allow-Origin :

<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>

 

My natives comment section and website working fine. Only issue with wp-discuz plugin. Also attaching screenshot of how comment section look like after installing and setting up wp-discuz plugin.

 

Please help with concern urgent as I set this plugin on Prod Blog.

Screenshot 2021 04 13 at 1.42.48 PM

 

 

2 Replies
Asti
Posts: 3337
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

@deepak,

This is .htaccess configuration issue. We may suggest you contact your hosting support and ask them to check the .htaccess configuration and make sure everything is set correctly.

Reply
deepak
Posts: 2
Topic starter
(@deepak)
New Member
Joined: 5 months ago

@Asti

Same .htaccess set to staging and working fine but not on Production Blog. 

Its not .htaccess issue because same Prod config is in staging blog setup running fine and CORS issue not there in staging

Reply
Share: