teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

ドメイン名の表記を変更した

2020/07/22 01:15

投稿

kjshdfiuasye
kjshdfiuasye

スコア29

title CHANGED
File without changes
body CHANGED
@@ -1,16 +1,16 @@
1
1
  ### 前提・実現したいこと
2
- adobeのWEBフォント(adobeFONTS)をワードプレス(https://test.com)で読み込めない
2
+ adobeのWEBフォント(adobeFONTS)をワードプレス(https://example.com)で読み込めない
3
3
  cms=ワードプレス
4
4
  cmsインストール先=サブドメインの/testフォルダ
5
5
  ### エラーメッセージsafari
6
6
 
7
7
  ```
8
- Origin https://test.com is not allowed by Access-Control-Allow-Origin.
8
+ Origin https://example.com is not allowed by Access-Control-Allow-Origin.
9
9
  ```
10
10
  ### エラーメッセージchrome
11
11
 
12
12
  ```
13
- Access to XMLHttpRequest at 'https://p.typekit.net/p.gif?●●●●●●●' from origin 'https://test.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
13
+ Access to XMLHttpRequest at 'https://p.typekit.net/p.gif?●●●●●●●' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
14
14
  ```
15
15
 
16
16
  ### 試したこと

1

末尾に試したことを追記

2020/07/22 01:15

投稿

kjshdfiuasye
kjshdfiuasye

スコア29

title CHANGED
File without changes
body CHANGED
@@ -24,4 +24,7 @@
24
24
  Header set Access-Control-Allow-Origin "*"
25
25
  </IfModule>
26
26
  </FilesMatch>
27
- ```
27
+ ```
28
+
29
+
30
+ 上記のFilesMatchタグの開始と終了をとってもエラーが出ます。