Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @phue,
    When I checked your website I saw that the cf-cache-status: DYNAMIC (Screenshot: https://i.imgur.com/5PNtM4k.png). Can you confirm whether or not you have Development Mode enabled in your Cloudflare account?
    Regarding the CORS, this is not a plugin issue. I can see that you are loading the fonts without the www. in your URL. Take a look at this screenshot: https://i.imgur.com/8G2KfDw.png
    You will see that you are loading the fonts using an URL like this:
    https://huestonsblinds.co.uk/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2
    Which doesn’t have any www. in the URL. But you are accessing the site using www..

    You need to choose which format of the URL you wanna use. WWW or non WWW. Based on that decision, if you choose to go with WWW version, make sure all of your URLs has www. in it. If you choose to go with non www make sure if anyone visit WWW version of your website it gets 301 redirected to the non WWW version of the website.

    Hope this helps. ??

    Thread Starter phue

    (@phue)

    Thank you for your help Saumya,

    Development mode is off within my Cloudflare account.

    In WordPress Settings > General I have the WordPress Address (URL) and Site Address (URL) both set to https://huestonsblinds.co.uk. Before I enabled Page Caching within this plugin this redirection from WWW URL to non WWW URL occurred automatically (and thus there was no CORS issue) – does the Cloudflare Cache Everything feature interfere with this redirection? If so, is there any way to allow this redirection to occur as before?

    If not, which method of setting up a new manual 301 redirection would you recommend – for example; creating a Cloudflare Page Rule, editing the .htaccess file on the web server, or via a WordPress Plugin?

    Thanks again for your help! ??

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @phue,
    I think the best option will be to create a simple page rule for the 301 redirects like this: https://i.imgur.com/VALoZeb.png

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Access Blocked by CORS Policy: No ‘Access-Control-Allow-Origin’ header present’ is closed to new replies.