The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Access control orig...
 
Share:
Notifications
Clear all

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

3 Posts
2 Users
0 Likes
1,005 Views
Posts: 2
Topic starter
(@deepak)
New Member
Joined: 3 years 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: 7098
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 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
Posts: 2
Topic starter
(@deepak)
New Member
Joined: 3 years 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: