Forum Support

Shape 5
March 29, 2024, 06:46:13 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: CORS Policy errors  (Read 741 times)
formae98
Jr. Member
**
Offline Offline

Posts: 5



« on: February 14, 2018, 04:24:04 AM »

hi,
after installing a SSL certificate, i start having these errors:

Access to Font at 'https://www.ediliziasmart.it/templates/regan_tech/css/font-awesome/font/fontawesome-webfont.woff?v=3.2.1' from origin 'https://ediliziasmart.it' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://ediliziasmart.it' is therefore not allowed access.

(index):1 Access to Font at 'https://www.ediliziasmart.it/templates/regan_tech/css/ionicons/fonts/ionicons.ttf?v=2.0.0' from origin 'https://ediliziasmart.it' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://ediliziasmart.it' is therefore not allowed access.


Is there something I can do?
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: February 14, 2018, 09:29:58 AM »

Hello,

I don't know what a CORS policy is. If your SSL cert is blocking content on your own website, that is an issue with the cert.

One thing I can see your code above is your loading your site without a www: https://ediliziasmart.it/   While the files are called a www. The urls must be exactly the same for an ssl cert. I would highly recommend forcing a www. redirect on your site so that all urls use a www. It is a good practice to have whether you have ssl or not. Your hosting provider can assist with that.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
formae98
Jr. Member
**
Offline Offline

Posts: 5



« Reply #2 on: February 14, 2018, 01:22:57 PM »

You are right.
Problem solved forcing www.*

Thanks a lot
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.