How To Fix Ezoic Origin Error

Similar Posts

10 Comments

  1. Oh, thanks for this, it made me abandoned Ezoic and CloudFlare as a whole. Let me rush and try this

  2. am constantly getting this error on my site victorian-era dot org
    I have tried your solution. lets see

  3. Great article! Can you confirm that using NameCheap hosting, there will be no pesky origin errors using Ezioc NS?
    If so, what NameCheap plan stops origin errors?

    1. I was using Namecheap shared hosting plan for this website at the time I made this post.

      At this time of replying this comment, I am still using Namecheap shared hosting.

  4. I am getting “A timeout occurred Error code 524” when I connect through CF. Tried your methods but it does not work for me.

  5. The common error you will experience when using Cloudflare for integration is error code 520.

    What is your host and blog URL?

    I want to be sure that your settings were correct, then I can tell you what steps to take.

  6. This worked for me, just add to wp-config:

    // Use X-Forwarded-For HTTP Header to Get Visitor’s Real IP Address

    if ( isset( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) {

    $http_x_headers = explode( ‘,’, $_SERVER[‘HTTP_X_FORWARDED_FOR’] );

    $_SERVER[‘REMOTE_ADDR’] = $http_x_headers[0];

    }

Leave a Reply

Your email address will not be published. Required fields are marked *