Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @zajac007,

    Did you add your website domain in the Whitelisted Domains settings? If you added it and still the issue continues, you can add this in the .htaccess file to enable the Cross-Origin Resource Sharing (CORS) policy:

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

    You can also use a plugin like Enable CORS to enable it without touching a file.

    I hope this helps! Please let us know how it goes or if you need further assistance.

    Thread Starter Wojciech

    (@zajac007)

    Thanks for quick response. I didn’t add our website domain in the Whitelisted Domains. How or where we should do that?

    Thread Starter Wojciech

    (@zajac007)

    I checked Whitelisted domains and my domains are added

    https://ibb.co/ZVFzh7T

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Wojciech

    Thank you for your reply.

    I understand you have added the domain to the Whitelisted Domains settings. But you are still facing the same issue with CORS.

    If that is the case, I suggest adding this code to your .htaccess file.
    This file is located in the root directory of your WordPress site.

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

    If you are not comfortable with editing files on your server then you can use a plugin like Enable CORS to enable CORS on your site.

    Let me know if the issue persists.
    I am here for your assistance. ??

    Best regards.

    Thread Starter Wojciech

    (@zajac007)

    Hi Support good people

    As you suggest we added code to .htaccess file but steel I see some errors:

    “… “has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource”

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

    https://ibb.co/wWzXGqk

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @zajac007,

    How about adding it using the Enable CORS plugin? Does the issue persist? If so, I recommend contacting your hosting provider for further assistance.

    Thank you for your patience and cooperation. Looking forward to hearing from you soon.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Facebook CORS policy’ is closed to new replies.