
-
AuthorPosts
-
October 16, 2015 at 1:38 pm #519931
Hi,
I have created a website on http://www.management-development.eu which is showing OK when you visit it directly. However, the owner also has a domain which I pointed towards http://www.management-development.eu (coming from http://www.lesire-partners.com). You will see that the icons show “japanese style” when you come from http://www.lesire-partners.com and change once you surf on http://www.management-development.eu into the desired icon designs.
I have looked in Chrome “inspect elements” and I have discoverd that these “japanese like” icons are showing in “data-av_icon=”x” (cannot replicate what is shown there). It concerns the icons from the homepage.
Can you tell me how to avoid this?
thank you
RoelandOctober 16, 2015 at 5:33 pm #520183Hey Roeland!
Please try this out, http://kriesi.at/documentation/enfold/enable-cors/.
Regards,
ElliottOctober 19, 2015 at 4:29 pm #521031Hi Elliott,
tried to do so on .htaccess for Apache but no change so far… (since then I even get an “internal server error” and need to call the hosting cy)
You mentioned also 2nd file on IIS7… web.config – ?? don’t understand what this on is, I only find “wp-config.php”
do I need to do both? if yes, where can i find that web.config root file.. ?
thanks,
roeland
October 20, 2015 at 4:23 am #521325Hi,
I also get a 500 internal error when going to http://www.lesire-partners.com/, should we wait with looking at this until you get your server issues fixed?
Regards,
RikardOctober 20, 2015 at 9:58 am #521454yes please, i’m looking into this today
Roeland
October 20, 2015 at 12:08 pm #521525Hi,
I have added this :
# BEGIN Enable CORS
<FilesMatch “\.(ttf|otf|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch># END Enable CORS
to the .htaccess file and got a “internal server” error as reply, took it away and site was up and running again….
October 20, 2015 at 12:37 pm #521552I tried it again and each time I insert above lines I get “server error” until I remove these lines….
so I guess that is not helpfull for my issue…
thanks for investigating thisRoeland
October 20, 2015 at 12:46 pm #521560Now the .htaccess file has been changed and remains operationable
(I took away the security plugin and inserted the .htaccess file again,
then re-installed the security plugin and the site is accessible but the original problem of the CORS remains).regards,
Roeland
October 21, 2015 at 8:08 pm #522483October 22, 2015 at 10:18 am #522816Hi Andy,
Please clarify … which code ? The one I find under “apache” or the one i find under IIS7 ?
Do I then need to copy that file in both .htaccess and wp-config files ??
thanks
Roeland
October 23, 2015 at 7:37 am #523494Hi!
You don’t need the IIS7 configuration. Do the modification inside the .htaccess file only and make sure that you’re editing the http://www.management-development.eu/ .htaccess file:
# BEGIN Enable CORS <FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin http://www.lesire-partners.com/ </IfModule> </FilesMatch> # END Enable CORS
Copy this code directly from the forum, not from your email.
Cheers!
IsmaelOctober 23, 2015 at 4:40 pm #523965Hi Ismaël,
thanks but… no change! Copied code in .htaccess only. At this moment the code can remain in .htaccess without causing the “internal server” sign to show up, so that is a relief but the odd signs remain visible when coming from http://www.lesire-partners.com to http://www.management-development.eu
Hope you can find the solution to this problem.
Roeland
AboveSecondOctober 26, 2015 at 7:30 am #524670Hi!
If you search the forum, you’ll find that this is actually a common issue and the cors-solution fixed it in most cases. The page in the http://www.lesire-partners.com/ is cached. Please disable the cache plugin temporarily then check it again. Where is the .htaccess file located? Is it in the wp root directory?
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.