• Resolved Tyke79

    (@tyke79)


    I run into a CORS problem when loading the ‘/wp-admin/admin-ajax.php’ in the projects section of my website.

    I have added the following directive in the htacces, but it still doesn’t work.

    I would appreciate any suggestions on how to fix the problem.

    <IfModule mod_headers.c>    
        Header set Access-Control-Allow-Origin *
    </IfModule>

    Thanks in advance

    I provide a screenshot

    https://prnt.sc/26d40kt

    • This topic was modified 3 years, 1 month ago by Tyke79.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author shift8

    (@shift8)

    Oh this is a super odd problem!

    First of all thanks for using our service ??

    Our plugin is only supposed to rewrite requests to go through the CDN if they are static elements (i.e. css, images, etc).

    Are you creating your own rewrite rules to use our CDN? IF you dont mind pasting your .htaccess and/or Apache (or other) site config?

    Thanks!

    Plugin Author shift8

    (@shift8)

    Going to close this issue but feel free to update or reach out directly if you want to troubleshoot it further.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin-ajax.php CORS Error’ is closed to new replies.