• Resolved openedge1

    (@openedge1)


    When attempting to connect with the domain listed above in the Cloudflare API, it returns an incorrect domain. I tried full domain, without TLD and even partial name. It always pulls the FIRST domain.

    What is funny is I can add other domain names here and those will save. But, NOT all… It just seems to vary…

    Thoughts?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Hai Zheng⚡

    (@hailite)

    It will pick up the first one as default if it can’t find any fully matched domain.

    You can try part of the domain you want to use.

    For example, if you have domain1.com, domain2.com, you can try only type domain2 in Domain setting. You should not include http or /.

    Thread Starter openedge1

    (@openedge1)

    As I noted. I tried partial names with no luck, no TLD (removed .com) I do not use http when doing any API calls to Cloudflare (we have several of our own apps).

    It 100% exists. And it was not the only name I had issues with. I typed in a different domain name that was next in my list, and it picked up the first domain as well.

    I do have the Cloudflare plugin enabled right now, and it is working 100%…I just want to be able to remove that and go with one plugin.

    There is some bug going on here…(Of note: We do roughly have 200-300 domains for this API Key…maybe an issue?)

    Plugin Support Hai Zheng⚡

    (@hailite)

    Yes. That should be the reason.

    Cloudflare has a default zones per page setting. We will improve the compatibility for your case ( has more than 50 domains under one account ).

    Thanks for your feedback. The fix is supposed to be in this week’s release.

    Best,
    Hai

    Thread Starter openedge1

    (@openedge1)

    Awesome work. This is by far one of our favorite plugins. And A2 Hosting is a perfect company for this plugin as well…they have Litespeed out of the box. Sites are super fast thanks to this plugin and that host!

    Cheers

    Plugin Support Hai Zheng⚡

    (@hailite)

    Thanks for your encouragement.

    Here is the commit you can give a try: https://github.com/litespeedtech/lscache_wp/commit/da4ec5cc18fd768b8b734ff102adad03ad64d25f

    To deploy it, you can just simply fetch https://raw.githubusercontent.com/litespeedtech/lscache_wp/da4ec5cc18fd768b8b734ff102adad03ad64d25f/litespeed-cache/inc/cdn.class.php and override that cdn.class.php file.

    Thread Starter openedge1

    (@openedge1)

    Works like a charm. Going to push this to my other sites and run some more tests…but so far, all looks good.

    Thank you bunches!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cloudflare Domain Incorrect’ is closed to new replies.