2020년 March 10일
  1. 워드프레스
  2. 워드프레스 유지보수
  3. Access-Control-Allow-Origin (CORS origin) 해결 방법

Access-Control-Allow-Origin (CORS origin) 해결 방법

워드프레스 유료 테마 중 하나인 Avada 테마를 사용해서 제작된 워드프레스 홈페이지에서 웹폰트 에러가 나는 경우가 있습니다.

 

 

이 문제를 해결하는 가장 간단한 방법 중 하나는 다음 코드를 .htaccess에 추가하는 것입니다.

 

<IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>

 

이 문제에 대한 원인를 알고 싶으면 다음 링크 참고 바랍니다.

 

https://crunchify.com/how-to-fix-access-control-allow-origin-issue-for-your-https-enabled-wordpress-site-and-maxcdn/

 

 

BCT 워드프레스 유지보수 / 보안 문의는 다음 링크 참고 바랍니다.

 

https://bctone.kr/bct-care-service/

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

연관 글
BCT NEWS
인기 글
워드프레스 유지보수
워드프레스 유지보수
BCT AI Chatbot